Local templates for SRWare Iron v32 and later

If it doesn't fit elsewhere, it goes here
Post Reply
Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Local templates for SRWare Iron v32 and later

Post by Guest10 » Sat Jun 07, 2014 12:24 pm

While investigating with "Boxed In" in this post, as to why the template for SRWare Iron does not save bookmarks out of the sandbox, this is what we found:

For the last few versions (since approximately v32, to the current v35) SRWare Iron has been changed so that "iron.exe" is only used to start "chrome.exe".
Most of the Sandboxie templates for Iron will not work for these recent versions, because they specify "iron.exe" instead of "chrome.exe".
(Also, the templates for Chrome will not work because the Chrome profile files are not at the same hard drive location as the Iron profile files)

The following are local templates that can be added to the sandboxie.ini configuration file.
At a bare minimum, users of the latest SRWare Iron versions should add the Local Phishing template to the sandbox settings for their Iron (v32 and later) sandbox. This will allow Iron to keep its unsandboxed Safe Browsing phishing files up to date, while you are running Iron sandboxed.

Instructions on how to add a local template, and how to then apply the template to the settings for a sandbox, is described in the "Notes:" section at the bottom of this post. I suggest that you Copy/Paste the remainder of this post into a Notepad document, so that you can add the template(s) to your configuration file while you are off-line.
(These templates are NOT intended for use with any portable version of Iron)
--------------------------------

[Template_Local_Iron_Phishing_DirectAccess]
Tmpl.Title=Allow direct access to Iron (v32 and later) phishing database
Tmpl.Class=Local
OpenFilePath=chrome.exe,%Local AppData%\Chromium\User Data\Safe Browsing*


[Template_Local_Iron_Bookmarks_DirectAccess]
Tmpl.Title=Allow direct access to Iron (v32 and later) bookmarks
Tmpl.Class=Local
OpenFilePath=chrome.exe,%Tmpl.Iron%\Bookmarks*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Favicons*


[Template_Local_Iron_History_DirectAccess]
Tmpl.Title=Allow direct access to Iron (v32 and later) bookmarks and history database files
Tmpl.Class=Local
OpenFilePath=chrome.exe,%Tmpl.Iron%\Bookmarks*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Favicons*
OpenFilePath=chrome.exe,%Tmpl.Iron%\History*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Current *
OpenFilePath=chrome.exe,%Tmpl.Iron%\Last *
OpenFilePath=chrome.exe,%Tmpl.Iron%\Top Sites*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Visited Links*


[Template_Local_Iron_Cookies_DirectAccess]
Tmpl.Title=Allow direct access to Iron (v32 and later) cookies
Tmpl.Class=Local
OpenFilePath=chrome.exe,%Tmpl.Iron%\Cookies*


[Template_Local_Iron_Passwords_DirectAccess]
Tmpl.Title=Allow direct access to Iron (v32 and later) passwords
Tmpl.Class=Local
OpenFilePath=chrome.exe,%Tmpl.Iron%\Login Data*


[Template_Local_Iron_Preferences_DirectAccess]
Tmpl.Title=Allow direct access to Iron (v32 and later) preferences and forms data
Tmpl.Class=Local
Comment=Iron's own settings should be saved in the Preferences file
Comment=Search engine choice, auto fill data, (and more?) are saved in Web Data
OpenFilePath=chrome.exe,%Tmpl.Iron%\Preferences*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Web Data*


[Template_Local_Iron_Profile_DirectAccess]
Tmpl.Title=Allow direct access to entire Iron (v32 and later) profile folder
Tmpl.Class=Local
Comment=Note: you still need to use the Phishing template if you use this template
OpenFilePath=chrome.exe,%Tmpl.Iron%\*


[Template_Local_Iron_Force]
Tmpl.Title=Force SRWare Iron to run in this sandbox (Registered version only)
Tmpl.Class=Local
Comment=For SRWare Iron v32 and later, iron.exe starts chrome.exe
Comment=This template added here for convenience. The original Iron Forcing template still works
ForceProcess=iron.exe

-----------------------------
Notes:
It's recommended that you add only those templates that you will use, because at some point Sandboxie Control will start prompting you that there are unused templates, and ask if you want to delete them. If you don't want the unused templates to be deleted, you would answer No to that prompt.

To add one or more Local templates to your configuration file:
- Copy the text, from one of the above templates, to the Clipboard.
- In Sandboxie Control's window: right-click the sandbox name > click Sandbox Settings.
- Then: Applications > Local > click the "Create New" button.
- Paste the Clipboard contents into the Create New window, then click OK.
- If you will be adding additional Local templates: Copy the template to the Clipboard; use the "Create New" button again; Paste the Clipboard contents into the window; then click OK.

When you have finished adding the Local templates, you MUST then select each template in the list and click the "Add" button, to apply the template to the settings for that sandbox.
OK your way out when finished.

Advanced users could copy multiple templates into the configuration file using Configure > Edit Configuration, but they must still be applied to the sandbox using the Add button at Sandbox Settings > Applications > Local
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Re: Local templates for SRWare Iron v32 and later

Post by Guest10 » Sat Jun 07, 2014 2:31 pm

Invincea could revise templates.ini to work with the old and newer Iron versions.
Users: Do Not Add These To Your Sandboxie.ini file
The names are the same as templates in the templates.ini file and will therefore conflict with them.

Something like:


[Template_Iron_Bookmarks_DirectAccess]
Tmpl.Title=#4356,SRWare Iron
Tmpl.Class=WebBrowser
OpenFilePath=iron.exe,%Tmpl.Iron%\Bookmarks*
OpenFilePath=iron.exe,%Tmpl.Iron%\Thumbnails*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Bookmarks*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Favicons*

[Template_Iron_History_DirectAccess]
Tmpl.Title=#4336,SRWare Iron
Tmpl.Class=WebBrowser
OpenFilePath=iron.exe,%Tmpl.Iron%\Bookmarks*
OpenFilePath=iron.exe,%Tmpl.Iron%\Thumbnails*
OpenFilePath=iron.exe,%Tmpl.Iron%\*History*
OpenFilePath=iron.exe,%Tmpl.Iron%\Current *
OpenFilePath=iron.exe,%Tmpl.Iron%\Last *
OpenFilePath=iron.exe,%Tmpl.Iron%\Visited Links*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Bookmarks*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Favicons*
OpenFilePath=chrome.exe,%Tmpl.Iron%\History*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Current *
OpenFilePath=chrome.exe,%Tmpl.Iron%\Last *
OpenFilePath=chrome.exe,%Tmpl.Iron%\Top Sites*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Visited Links*

[Template_Iron_Cookies_DirectAccess]
Tmpl.Title=#4328,SRWare Iron
Tmpl.Class=WebBrowser
OpenFilePath=iron.exe,%Tmpl.Iron%\Cookies*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Cookies*

[Template_Iron_Passwords_DirectAccess]
Tmpl.Title=#4331,SRWare Iron
Tmpl.Class=WebBrowser
OpenFilePath=iron.exe,%Tmpl.Iron%\Login Data*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Login Data*

[Template_Iron_Preferences_DirectAccess]
Tmpl.Title=#4339,SRWare Iron
Tmpl.Class=WebBrowser
OpenFilePath=iron.exe,%Tmpl.Iron%\Preferences*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Preferences*
OpenFilePath=chrome.exe,%Tmpl.Iron%\Web Data*

[Template_Iron_Profile_DirectAccess]
Tmpl.Title=#4338,SRWare Iron
Tmpl.Class=WebBrowser
OpenFilePath=iron.exe,%Tmpl.Iron%\*
OpenFilePath=chrome.exe,%Tmpl.Iron%\*


[Template_Chrome_Phishing_DirectAccess]
Tmpl.Title=#4337,Google Chrome
Tmpl.Class=WebBrowser
ProcessGroup=<ChromePrograms>,chrome.exe,dragon.exe,iron.exe,opera.exe,maxthon.exe
OpenFilePath=<ChromePrograms>,%Local AppData%\Google\Chrome\User Data\Safe Browsing*
OpenFilePath=<ChromePrograms>,%Local AppData%\Google\Chrome\User Data\Certificate Revocation Lists
OpenFilePath=<ChromePrograms>,%Local AppData%\Chromium\User Data\Safe Browsing*
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest