Problem

Please post your problem description here

Moderator: Barb@Invincea

nvm

Problem

Post by nvm » Tue Dec 22, 2009 5:27 pm

When you change your homepage with the regular browser(not Sandboxed). Why the Sandboxie Web Browser not changes as well ?

Thanks.

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

Post by Guest10 » Tue Dec 22, 2009 6:47 pm

Unless you have allowed the sandboxed web browser to have access to the bookmarks that are used by the unsandboxed browser (outside of the Sandbox folder), then the browser that's running sandboxed will create its own bookmarks inside of the sandbox.

So, the first time you run the sandboxed browser (with an empty sandbox), it will read the bookmarks that were created by the unsandboxed browser.
Any changes you make to the bookmarks, while using the sandboxed browser, will be written inside the sandbox.

If you change the home page in the unsandboxed browser, and the sandboxed browser does not change, then it means that the sandboxed browser is using bookmarks that are inside of the sandbox.
You could delete the contents of the sandbox, and the next time you run the browser sandboxed, it will once again read the bookmarks that were created by the unsandboxed browser.
It will then have the same home page.

Long term solution is to have the sandboxed browser set up to allow it to access the bookmarks that are outside of the sandbox.
Don't do that and expect that the sandboxed and unsandboxed browsers can run at the same time, both accessing the same bookmarks, though.
If you use IE, Firefox, Chrome, Sea Monkey, Opera or Maxthon 2, you can use a setting at Sandboxie's
Sandbox Settings > Applications > Web Browser
to allow bookmark access by the sandboxed browser. It will be able to use and change bookmarks that are outside of the sandbox.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

MitchE323
Posts: 2268
Joined: Thu Nov 02, 2006 9:32 am

Post by MitchE323 » Tue Dec 22, 2009 6:56 pm

Don't do that and expect that the sandboxed and unsandboxed browsers can run at the same time, both accessing the same bookmarks, though.
I didn't know that was a no-go, thanx Guest_10 :D

nvm

Ok

Post by nvm » Tue Dec 22, 2009 7:04 pm

I understand.
Thanks a lot for your professional reply !

:D

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

Post by Guest10 » Tue Dec 22, 2009 8:13 pm

MitchE323 wrote:
Don't do that and expect that the sandboxed and unsandboxed browsers can run at the same time, both accessing the same bookmarks, though.
I didn't know that was a no-go, thanx Guest_10 :D
I tend to think in terms of how Firefox works. With Fx, the bookmarks are stored in one (database) file.
So the first instance of Fx to access that file will normally take control of it, and another instance will not be able to use that bookmarks file until the first instance ends.
I would imagine that any browser that stores bookmarks in one file would have the same limitation.

With IE using separate Favorites files, I guess that it's possible for 2 instances to use the same bookmarks files - I can't really say.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

MitchE323
Posts: 2268
Joined: Thu Nov 02, 2006 9:32 am

Post by MitchE323 » Tue Dec 22, 2009 8:49 pm

Yeah, I understood you were referring to Firefox (bookmarks) :D

SnDPhoenix
Posts: 2690
Joined: Tue Dec 26, 2006 5:44 pm
Location: West Florida

Post by SnDPhoenix » Tue Dec 22, 2009 9:12 pm

Don't do that and expect that the sandboxed and unsandboxed browsers can run at the same time, both accessing the same bookmarks, though.
Actually, the fact that the bookmarks are stored in a sql database is the reason why you CAN access the bookmarks, when running a sandboxed and unsandboxed Firefox simultaneously, sql databases can be accessed and modified by many programs/users at once (just look at this forum, every user, post, thread, setting is stored in a DB, but an unlimited number of users can browse this site at the same time).
Like you said, the problem is just whether or not you have allowed direct access to the Fx profile folder (or just bookmarks) or not. ;)

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

Post by Guest10 » Wed Dec 23, 2009 8:32 am

SnDPhoenix wrote:...you CAN access the bookmarks, when running a sandboxed and unsandboxed Firefox simultaneously, sql databases can be accessed and modified by many programs/users at once ...
If that's the case, then my computer/Firefox is not working correctly.
Once I sandbox Firefox, starting an unsandboxed Firefox that uses the same profile/bookmarks file has a big red warning at the top of its page:
"The bookmarks and history system will not be functional because one of Firefox's files is in use by another application. Some security software can cause this problem."
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

MitchE323
Posts: 2268
Joined: Thu Nov 02, 2006 9:32 am

Post by MitchE323 » Wed Dec 23, 2009 8:54 am

If that's the case, then my computer/Firefox is not working correctly.
That I would say is probably the 'completeness' in which some actions are "under the supervision of Sandboxie". So even though a sql database is accessible to simultaneous programs, that access is probably blocked by Sandboxie. I am not sure why that would be needed though within Sandboxie, maybe Tzuk can look at that. I suspect that since IE relies a bit on Explorer.exe, you can access the same favorite sandboxed and unsandboxed at the same time. That and/or of course the favorites are individual files as opposed to a database...

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

Post by Guest10 » Wed Dec 23, 2009 9:06 am

I just tried something else. My unsandboxed Firefox starts with a "-no-remote" option, on the command line.
Without that option I do not get the error message, about the bookmarks file being in use.
Unfortunately, I don't remember exactly why I put that option there - and since I'm about to leave town, I guess it will be a while until I can figure it out.
http://kb.mozillazine.org/Opening_a_new ... er_profile
http://kb.mozillazine.org/Command_line_arguments
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

SnDPhoenix
Posts: 2690
Joined: Tue Dec 26, 2006 5:44 pm
Location: West Florida

Post by SnDPhoenix » Wed Dec 23, 2009 9:09 am

Guest10 wrote:If that's the case, then my computer/Firefox is not working correctly.
Once I sandbox Firefox, starting an unsandboxed Firefox that uses the same profile/bookmarks file has a big red warning at the top of its page:
"The bookmarks and history system will not be functional because one of Firefox's files is in use by another application. Some security software can cause this problem."
Hmm, I dont know why, but maybe it might be because of Sandboxie?
I should mention, I dont ever install more than one build of Fx outside Sandboxie, so any additional builds of Fx are installed right into their own sandbox. On top of that, I also dont allow sandboxed Fx's direct access to my unsandboxed Fx's profile/bookmarks, therefore that might be why it works for me? By not opening direct access to the profile folder, Sandboxie then forces the sandboxed Fx to copy the profile folder into the sandbox and then from that point on, just accesses the sandboxed profile folder, so my unsandboxed Fx can read from its own profile folder (outside the sandbox), while my sandboxed Fx reads from its own profile folder in the sandbox, thus preventing any issues with the folder/files being "locked" by either the sandboxed or unsandboxed Firefox?

Either that, or I am the one whose computer/Firefox isn't working correctly? :shock:

MitchE323
Posts: 2268
Joined: Thu Nov 02, 2006 9:32 am

Post by MitchE323 » Wed Dec 23, 2009 9:11 am

Without that option I do not get the error message,
Yet another issue solved through the Sandboxie jam sessions. Have a nice trip. :D

SnDPhoenix
Posts: 2690
Joined: Tue Dec 26, 2006 5:44 pm
Location: West Florida

Post by SnDPhoenix » Wed Dec 23, 2009 9:22 am

Important: Never use -no-remote to start the "default" profile (the one that is set to open without asking when you launch Firefox).
Haha, Guest10 is a n00b. :lol:
But no really though, glad you figured it out and enjoy your trip! :D

MitchE323
Posts: 2268
Joined: Thu Nov 02, 2006 9:32 am

Post by MitchE323 » Wed Dec 23, 2009 9:25 am

I didn't know that was a no-go, thanx Guest_10
Plus; I cancel my thank you. lolololol

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

Post by Guest10 » Wed Dec 23, 2009 10:22 am

OK, you guys. I looked back over my shoulder to see what's happening.
I think that I felt that someone was talking about me. :o
I'm all packed now, but before I hit the road I would like to say:
Important: Never use -no-remote to start the "default" profile (the one that is set to open without asking when you launch Firefox).
I don't ... Without specifying a profile, my "default" profile will be used, and my "default" profile doesn't use that option.

It's the (Internet surfing) profile that I call "NonSecure" that uses it, and that profile has a special shortcut that lists the profile name on the command line:
"C:\Program Files\Mozilla Firefox\firefox.exe" -P "NonSecure"
(now that I've removed the -no-remote option)
Firefox uses the profiles.ini file to locate the "NonSecure" profile, in the folder:
C:\Profiles\Firefox\NonSecure

OK Mitch, I give you back your "thanx". It was undeserved of me, although for a while it made for a nice Christmas present. :lol: :lol:
Nice hearing from you again, SnD, even if it is to correct me. You have a nice holiday, too.
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 0 guests