Running program inside and outside sandbox at same time?

If it's not about a problem in the program
Post Reply
slbox
Posts: 17
Joined: Thu Dec 27, 2012 2:42 pm

Running program inside and outside sandbox at same time?

Post by slbox » Fri Dec 28, 2012 5:18 am

I see that when I start up Firefox inside the sandbox and then launch another Firefox window outside the sandbox, the Task Manager shows 2 firefox.exe processes. I wonder if this could cause any problems, especially considering that I have configured the sandbox to allow Firefox direct access to the bookmark and database history, cookies, and phishing database. Could one Firefox process clobber the changes that the other Firefox process makes?

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

Post by Guest10 » Fri Dec 28, 2012 6:28 am

I use separate Firefox profiles to avoid problems with 2 instances trying to use the same profile files.
When I did do that, a long time ago, the bookmarks could not be accessed in one of the instances.

My Desktop shortcut for sandboxed Firefox specifies which sandbox to use, and the profile name, on the command line.
"C:\Program Files\Sandboxie\Start.exe" /box:NonSecureBox "C:\Program Files\Mozilla Firefox\firefox.exe" -P "NonSecure"
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

slbox
Posts: 17
Joined: Thu Dec 27, 2012 2:42 pm

Post by slbox » Sat Dec 29, 2012 5:59 pm

If you have created another profile for sandboxed Firefox instances, how do you tell Sandboxie to use that? I mean when you click on Sandbox > DefaultBox > Run sandboxed > Run Web Browser.

CPB
Posts: 148
Joined: Wed Jan 20, 2010 5:32 pm

Post by CPB » Sat Dec 29, 2012 10:52 pm

The other profile has to be created outside the sandbox.

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

Post by Guest10 » Sun Dec 30, 2012 11:01 am

slbox wrote:If you have created another profile for sandboxed Firefox instances, how do you tell Sandboxie to use that? I mean when you click on Sandbox > DefaultBox > Run sandboxed > Run Web Browser.
No, I don't run sandboxed Firefox that way.

I use a Desktop shortcut as listed above:
Right-clicking my shortcut > Properties > Target line:
"C:\Program Files\Sandboxie\Start.exe" /box:NonSecureBox "C:\Program Files\Mozilla Firefox\firefox.exe" -P "NonSecure"

I called the new Firefox profile "NonSecure". (I also have a "Secure" profile)
I created a "NonSecureBox" sandbox and used Sandbox Settings > Applications > Web Browser > Firefox
to choose my sandboxed Firefox options. (I also have a "SecureBox" sandbox to use with the "Secure" profile)

Breaking into parts the Properties > Target line for the shortcut that runs Firefox sandboxed:
"C:\Program Files\Sandboxie\Start.exe" (run Sandboxie's start.exe program)

/box:NonSecureBox (use the NonSecureBox sandbox)

"C:\Program Files\Mozilla Firefox\firefox.exe" (run the firefox.exe program)

-P (Use the Firefox profile that follows this command line switch)

"NonSecure" (the name of the Firefox profile to use. Must be enclosed in quotes "")

If I start Firefox from the Start Menu (unsandboxed), the "default" profile is used.
If I use Sandbox > DefaultBox > Run sandboxed > Run Web Browser, the "default" profile will be used when sandboxed.
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