Install 2 or more programs under the same sandbox

If it doesn't fit elsewhere, it goes here
dan_san_1
Posts: 14
Joined: Thu Apr 18, 2013 9:51 pm

Install 2 or more programs under the same sandbox

Post by dan_san_1 » Thu Apr 18, 2013 9:57 pm

Using Sandboxie can I install 2 (or more) different software under the same sandbox?
How do I do it?
My objective is that those 2 programs change each other and they need one another to function.
Thank you

dan_san_1
Posts: 14
Joined: Thu Apr 18, 2013 9:51 pm

Can I take a snapshot at a sandbox to act like a backup

Post by dan_san_1 » Thu Apr 18, 2013 10:21 pm

Is it possible to install programs to single sandbox and then take a snapshot at that sandbox so that if I make some changes that I regret at that sandbox, I can restore it.
In other words, can I make a backup of a sandbox so that I might be able to restore that sandbox later if I need? Kinda like making a restore point of a sandbox.
How can I do it?
Thanks

bo.elam
Sandboxie Guru
Sandboxie Guru
Posts: 2809
Joined: Wed Apr 22, 2009 9:17 pm

Post by bo.elam » Thu Apr 18, 2013 11:39 pm

You can make a copy of your Sandboxie.ini file and save it in a safe place, just in case you make a mistake with your settings. You ll find the file in Windows.

Bo

bo.elam
Sandboxie Guru
Sandboxie Guru
Posts: 2809
Joined: Wed Apr 22, 2009 9:17 pm

Post by bo.elam » Thu Apr 18, 2013 11:54 pm

Create a new sandbox, right click the installers, choose to run them sandboxed in the new sandbox. Don't set the new sandbox to delete on closing. Run the programs you installed by right clicking on Sandboxie control, hover the mouse over the new sandbox and click on Run from start menu. Find your program. It should work most of the time. Try it.

Bo

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

Post by Guest10 » Fri Apr 19, 2013 8:11 am

Yes, you can make a copy of the sandbox folder anytime you want to, and then copy it back to the same location so that it is restored to its original contents.
You could zip the sandbox folder and its contents, and unzip them again if desired.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

dan_san_1
Posts: 14
Joined: Thu Apr 18, 2013 9:51 pm

Post by dan_san_1 » Fri Apr 19, 2013 11:35 am

Thank you Bo, I will try it.
Can I delete the sandbox when I want or do I have to keep it forever?
Thank you

dan_san_1
Posts: 14
Joined: Thu Apr 18, 2013 9:51 pm

Post by dan_san_1 » Fri Apr 19, 2013 12:04 pm

Thank you Bo and Guest10.
Guest10 gave me the answer that I was looking for.
If I create a sandbox (on C: ) with the name "Work" where would the sandbox folder be?
Thank you for the support

dan_san_1
Posts: 14
Joined: Thu Apr 18, 2013 9:51 pm

Program inside a sandbox, log files outside sandbox

Post by dan_san_1 » Fri Apr 19, 2013 12:36 pm

Can I make a program that "lives" inside a sandbox, log files to a folder that is outside of the sandbox?
I would like the rule that gives permission to write data outside of the sandbox to be exclusively for that program. All other programs that "lives" inside that sandbox CANNOT do that.
Thank you

bo.elam
Sandboxie Guru
Sandboxie Guru
Posts: 2809
Joined: Wed Apr 22, 2009 9:17 pm

Post by bo.elam » Fri Apr 19, 2013 1:00 pm

dan_san_1 wrote:If I create a sandbox (on C: ) with the name "Work" where would the sandbox folder be?
In my case it would be located in C>Sandbox>Bo>Work.

Bo

bo.elam
Sandboxie Guru
Sandboxie Guru
Posts: 2809
Joined: Wed Apr 22, 2009 9:17 pm

Post by bo.elam » Fri Apr 19, 2013 1:01 pm

dan_san_1 wrote:Can I delete the sandbox when I want or do I have to keep it forever?
You can delete the sandbox when you want to. Take a look at Sandbox settings>Delete.

Bo

bo.elam
Sandboxie Guru
Sandboxie Guru
Posts: 2809
Joined: Wed Apr 22, 2009 9:17 pm

Post by bo.elam » Fri Apr 19, 2013 1:35 pm

Take a look at Sandbox settings>Resource access>File access>Full access. In the "All programs window", select the program that you like to allow to write outside the sandbox. Use the "Add" button, to navigate and select the folder where you want sandboxing to be bypassed. I think, this should allow you to do what you want.

Bo

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

Post by Guest10 » Fri Apr 19, 2013 4:27 pm

You also can limit which files a program can write outside of the sandbox, either by using an exact file name, or by using a wild card for the name and specifing an extension for the files.
In this case, after you select the program.exe that will be allowed to save files out of the sandbox (in the Full Access setting) you would use the "Edit/Add" button to specify the exact file names (one at a time) - or use a wild card for the name and list the file extension:
Examples:

Code: Select all

program.log  (<--only a file with this exact name can be written out of the sandbox by the program)
program.ini  (<-- as above)
*.log        (<-- any file with a .log extension)
*.ini        (<--any file with a .ini extension)
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

dan_san_1
Posts: 14
Joined: Thu Apr 18, 2013 9:51 pm

Post by dan_san_1 » Fri Apr 19, 2013 10:50 pm

Thank you. You guys are great

dan_san_1
Posts: 14
Joined: Thu Apr 18, 2013 9:51 pm

Program inside sandbox and database outside of sandox

Post by dan_san_1 » Fri Apr 19, 2013 11:12 pm

I want to execute this program that stores and reads data from a Postgresql database.
I have this program sandboxed. In order for it to function it needs to interact with the Postgresql database.
I don't know if I am mistaken but I believe that ALL the interactions between apps and Postgresql's databases goes through a TCP/IP connection. Please tell me if I am wrong about this.
My question is: in order for that program to function do I need to install the database inside of the sandbox or will it also work if I have the database outside of the sandbox (since all the interactions between app to database goes through tcp/ip)?

dan_san_1
Posts: 14
Joined: Thu Apr 18, 2013 9:51 pm

Post by dan_san_1 » Sat Apr 20, 2013 5:14 pm

When I select the folder where you want sandboxing to be bypassed, will all the subfolders be also included or not?
Thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest