Using sandboxie without copying a folder

If it doesn't fit elsewhere, it goes here
Post Reply
aktrl

Using sandboxie without copying a folder

Post by aktrl » Mon Feb 04, 2013 10:05 am

Hi ,

How do i use sandboxie with a program and let the program access a folder without copying it to the sandbox (preferred in read only mode ) ?

kalinin
Posts: 1
Joined: Mon Feb 04, 2013 10:28 am
Location: Rostov
Contact:

Post by kalinin » Mon Feb 04, 2013 10:31 am

the same question...

aktrl

Using sandboxie without copying a folder

Post by aktrl » Mon Feb 04, 2013 10:40 am

Will write the sentence again without the using the word "it" so there is no misunderstooding.

Hi,

How do i use sandboxie with a program and let the program access a folder without copying the folder to the sandbox ?

(preferred in read only mode )

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

Post by Guest10 » Mon Feb 04, 2013 11:58 am

Folders or files are not automatically copied into the sandbox when they are read.
Only items that are modified by a sandboxed program will be written inside of the sandbox, to a folder that corresponds to the location of that item outside of the sandbox.
Other items are merely read from where they are located, outside of the sandbox, if they are not modified by a sandboxed program.

If a file that is to be modified is larger than the file size set in the File Migration setting, then that file will not be copied into the sandbox and attempts by a sandboxed program to modify that file will fail.

There is a Read-Only setting, but if you use it, any attempt by a sandboxed program to write a modified file there will generate an error message, and it open a Browse window so that the item can be saved someplace else.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

aktrl

Post by aktrl » Mon Feb 04, 2013 12:20 pm

What you are saying is that if the program presumably is programmed to make changes on the file then there is no way to force the program

not copy the files into the sandbox ....even if it seems that the program doesnt make changes to the file .

aktrl

Post by aktrl » Mon Feb 04, 2013 1:21 pm

What is the resource access>file access> direct access or full access ?

aktrl

Post by aktrl » Mon Feb 04, 2013 3:41 pm

"Good morning" for myself ...

It is good to remember or knowing for the first time that when the message for increasing memory for file migration is beeing displayed...

it is not meant that the file is not being read.

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

Re: Using sandboxie without copying a folder

Post by bo.elam » Mon Feb 04, 2013 4:10 pm

aktrl wrote: How do i use sandboxie with a program and let the program access a folder without copying it to the sandbox (preferred in read only mode ) ?
I think File Access > Read-Only Access is what you need.
aktrl wrote:What is the resource access>file access> direct access or full access ?
http://www.sandboxie.com/index.php?Reso ... tings#file

Read under File access heading. There you can read about whats different. In short, the setting that you should use depends on whether the program running sandboxed is installed in the real system or in the sandbox.

Bo

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

Post by Guest10 » Mon Feb 04, 2013 4:47 pm

aktrl wrote:What is the resource access>file access> direct access or full access ?
If a program is running sandboxed, it can only read files and folders that are outside of the sandbox.
If the program tries to modify some file that's outside of the sandbox, then the modified copy of the file is actually saved inside of the sandbox.
That modified file will be used by the sandboxed program from then on, until the sandbox contents are deleted, because its presence there "hides" a file by the same name that's located outside of the sandbox.

If you create a Direct Access setting to a file or folder for a program, then that sandboxed program can not only read the files outside of the sandbox but can also write to the file or folder outside of the sandbox, as listed in the setting.

Direct File Access is used when the .exe program that is running sandboxed is installed (located) outside of the sandbox.
If the .exe program that is running sandboxed is actually installed inside of the sandbox, then Direct Access won't allow it to write outside of the sandbox - Full Access is needed, in that case.
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