Launch Programs in Unique Sandbox From Another Program

If it's not about a problem in the program
Post Reply
Pobman
Posts: 8
Joined: Sat Sep 12, 2015 8:31 pm

Launch Programs in Unique Sandbox From Another Program

Post by Pobman » Sat Sep 12, 2015 8:40 pm

OK searched around for an answer and could not find, sorry if it exists!

I have a program (application1.exe) and that program launches multiple copies of another program (application2.exe). Is there any way with Sandboxie to make it so each instance of application2.exe that is auto launched by application1.exe runs in its own unique sandbox.

I looked at Forced Programs but that seemed to be for setting up a program so it always started in the same sandbox rather than multiple copies of the same program auto starting in a unique sandbox.

Thanks.

Peter2150
Posts: 879
Joined: Tue Mar 27, 2007 9:46 pm
Location: Washington DC

Re: Launch Programs in Unique Sandbox From Another Program

Post by Peter2150 » Sat Sep 12, 2015 11:38 pm

It might help to know what the applications are although I suspect what you want to do won't work. Also note, that if the applications are a game, that doesn't allow multiple copies, it probably won't work anyway

Pobman
Posts: 8
Joined: Sat Sep 12, 2015 8:31 pm

Re: Launch Programs in Unique Sandbox From Another Program

Post by Pobman » Sun Sep 13, 2015 12:56 am

Application2 is a custom browser while Application1 is effectively a scheduler for the custom browser.

It opens the browser and performs functions at set times throughout the day. The issue is cookies used by the custom browser clash with each other when more than one browser is open at a time so ideally keeping those seperate from each other would resolve clashes.

danicx
Posts: 58
Joined: Tue Aug 28, 2012 2:23 pm

Re: Launch Programs in Unique Sandbox From Another Program

Post by danicx » Sun Sep 13, 2015 2:33 am

u can make *.bat file for each application and run it from application1.exe (C:\Program Files\Sandboxie\Start.exe /box:1 c:/.../application2.exe, C:\Program Files\Sandboxie\Start.exe /box:2 c:/.../application3.exe, etc).

Pobman
Posts: 8
Joined: Sat Sep 12, 2015 8:31 pm

Re: Launch Programs in Unique Sandbox From Another Program

Post by Pobman » Sun Sep 13, 2015 4:48 am

danicx wrote:u can make *.bat file for each application and run it from application1.exe (C:\Program Files\Sandboxie\Start.exe /box:1 c:/.../application2.exe, C:\Program Files\Sandboxie\Start.exe /box:2 c:/.../application3.exe, etc).
Application2.exe is one program that gets launched many times, I can't rename it application3

Craig@Invincea
Sandboxie Support
Sandboxie Support
Posts: 3523
Joined: Thu Jun 18, 2015 3:00 pm
Location: DC Metro Area
Contact:

Re: Launch Programs in Unique Sandbox From Another Program

Post by Craig@Invincea » Sun Sep 13, 2015 10:24 am

Pobman wrote:Application2 is a custom browser while Application1 is effectively a scheduler for the custom browser.

It opens the browser and performs functions at set times throughout the day. The issue is cookies used by the custom browser clash with each other when more than one browser is open at a time so ideally keeping those seperate from each other would resolve clashes.
The sandboxed browser will pull info from an active browser that is open. I believe this to be the case even if that open browser is sb or not. I know one of the Devs had mentioned this before a while back.

Pobman
Posts: 8
Joined: Sat Sep 12, 2015 8:31 pm

Re: Launch Programs in Unique Sandbox From Another Program

Post by Pobman » Sun Sep 13, 2015 5:50 pm

Craig@Invincea wrote:
Pobman wrote:Application2 is a custom browser while Application1 is effectively a scheduler for the custom browser.

It opens the browser and performs functions at set times throughout the day. The issue is cookies used by the custom browser clash with each other when more than one browser is open at a time so ideally keeping those seperate from each other would resolve clashes.
The sandboxed browser will pull info from an active browser that is open. I believe this to be the case even if that open browser is sb or not. I know one of the Devs had mentioned this before a while back.
Even if the other browsers are all in their own unique sandbox? Mm ok I has assumed one sandbox did not see the contents of another.

Craig@Invincea
Sandboxie Support
Sandboxie Support
Posts: 3523
Joined: Thu Jun 18, 2015 3:00 pm
Location: DC Metro Area
Contact:

Re: Launch Programs in Unique Sandbox From Another Program

Post by Craig@Invincea » Sun Sep 13, 2015 7:31 pm

It's not that they can't be "seen" it's that SBIE doesn't allow things to be written to your host without your permission.

Pobman
Posts: 8
Joined: Sat Sep 12, 2015 8:31 pm

Re: Launch Programs in Unique Sandbox From Another Program

Post by Pobman » Sun Sep 13, 2015 7:51 pm

Ok.. So is there a setup then that stops a browser in Sandbox1 seeing cookies set by a browser in Sandbox2?

Basically I want the contents and downloads of each Sandbox to be unseen by programs running in other sandboxes.

Craig@Invincea
Sandboxie Support
Sandboxie Support
Posts: 3523
Joined: Thu Jun 18, 2015 3:00 pm
Location: DC Metro Area
Contact:

Re: Launch Programs in Unique Sandbox From Another Program

Post by Craig@Invincea » Sun Sep 13, 2015 7:52 pm

Pobman wrote:Ok.. So is there a setup then that stops a browser in Sandbox1 seeing cookies set by a browser in Sandbox2?

Basically I want the contents and downloads of each Sandbox to be unseen by programs running in other sandboxes.
I can bounce this off one of the Dev's tomorrow morning to get feedback- or maybe @Curt will see it this evening and offer an idea.

Pobman
Posts: 8
Joined: Sat Sep 12, 2015 8:31 pm

Re: Launch Programs in Unique Sandbox From Another Program

Post by Pobman » Sun Sep 13, 2015 8:03 pm

Thanks, because I am really confused now. :)

This is somewhat secondary to the original question of autorunning of course, and if a solution to that is not possible I can work around that easily enough, but I do need to ensure that each sandbox does not see the others and I always thought that was the way things were.

For instance if I run NotePad in sandbox1 and save a file and then open notepad in Sandbox2 I can't see that file created in Sandbox 1 which is perfect. Thus I assumed they were separate and it would be the same if I ran a browser in Sandbox1 and saved a cookie that the browser in Sandbox2 would not see that cookie.

Craig@Invincea
Sandboxie Support
Sandboxie Support
Posts: 3523
Joined: Thu Jun 18, 2015 3:00 pm
Location: DC Metro Area
Contact:

Re: Launch Programs in Unique Sandbox From Another Program

Post by Craig@Invincea » Mon Sep 14, 2015 9:20 am

Pobman wrote:Thanks, because I am really confused now. :)

This is somewhat secondary to the original question of autorunning of course, and if a solution to that is not possible I can work around that easily enough, but I do need to ensure that each sandbox does not see the others and I always thought that was the way things were.

For instance if I run NotePad in sandbox1 and save a file and then open notepad in Sandbox2 I can't see that file created in Sandbox 1 which is perfect. Thus I assumed they were separate and it would be the same if I ran a browser in Sandbox1 and saved a cookie that the browser in Sandbox2 would not see that cookie.
Spoke to one of the Devs this morning..regarding the browsers, if one is open on your host (unsandboxed) and then you open one in SB, there is a chance the the SB browser will get some of that data depending...what he said is a "lot of factors and cache.."

As for notepad in a SB, if NP is opened in a unique SB, they should not see the data from NP1 in SB "Default" to NP2 in SB "Default2."

Pobman
Posts: 8
Joined: Sat Sep 12, 2015 8:31 pm

Re: Launch Programs in Unique Sandbox From Another Program

Post by Pobman » Tue Sep 15, 2015 12:03 am

Everything is in unique sandboxes. No browsers etc. are open or in use on the system outside of a sandboxes.

I have done a work around to the original problem, launching multiple Application1.exe each only running 1-2 browsers and launching each one from its own unique folder and sandbox... its a bit messy but it works.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest