NOT logic in file blocking?
NOT logic in file blocking?
Hi all,
I want to block certain programs from visiting all directories except only one, how can I do that?
I hope there's a NOT logic in file blocking in sandboxie
I want to block certain programs from visiting all directories except only one, how can I do that?
I hope there's a NOT logic in file blocking in sandboxie
You can have a read here;
http://www.sandboxie.com/phpbb/viewtopic.php?t=6879
http://www.sandboxie.com/phpbb/viewtopic.php?t=6879
Also read about the "!" operator, in the description for Closed File Path.
(Blocks all sandboxed .exe's from accessing a folder, except the one that's specified in the line)
(Blocks all sandboxed .exe's from accessing a folder, except the one that's specified in the line)
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Thanks, I tried the ! markMitchE323 wrote:You can have a read here;
http://www.sandboxie.com/phpbb/viewtopic.php?t=6879
Code: Select all
ClosedFilePath=!cmd.exe,D:\Win\Sandboxie\*
ClosedFilePath=!start.exe,C:\
ClosedFilePath=C:\
ClosedFilePath=C:\
ClosedFilePath=E:\
I think that I misunderstood what you want to do.
Do you want a sandboxed program to be able to access only one directory, and no other directories anywhere?
Or do you want only one sandboxed program to be able to access a certain directory, and no other sandboxed programs can access that same directory?
Do you want a sandboxed program to be able to access only one directory, and no other directories anywhere?
Or do you want only one sandboxed program to be able to access a certain directory, and no other sandboxed programs can access that same directory?
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Thanks for replying,Guest10 wrote:I think that I misunderstood what you want to do.
Do you want a sandboxed program to be able to access only one directory, and no other directories anywhere?
Or do you want only one sandboxed program to be able to access a certain directory, and no other sandboxed programs can access that same directory?
I want to block access to ALL directories, except needed system dll's and its own directory of a executable.
@Username: The main concern in the related threads has been privacy, rather than protection of the system from permanent infection. It seems that your points wouldn't really apply, or would be impractical, in scenarios like SandboxieFan's example.
Looking back at this old thread, just wanted to clarify some things to save people time.
Don't think so. Folders that normally require Admin privileges for write access, such as C:\Windows, can be freely written to in the sandbox, even with Drop Rights enabled.Username wrote:0) DropMyRights feature also restricts many folders
Might be hard. You would have to deny yourself access to those files, or else run sandboxed programs under a different user account, right?Username wrote:1) you can use NTFS permissions
Not to solve the problem we're talking about. If you block D:\ and try to mount D:\Subfolder as a subst drive, the subst drive will also be blocked. There aren't any tricks to get around this (see here) because it's the final target path that matters (see here).Username wrote:2) you can use a separate SUBST or RAM drive
Who is online
Users browsing this forum: No registered users and 1 guest