I'm interested to learn how Sandboxie users make use of the Closed File and Key Path commands in Sandboxie.ini to suit their own needs.
I appreciate it's a good idea to close read access to all personal files. But there must also be many files and registry contents that contain details of settings, passwords (encrypted or otherwise) and other data that a hacker could perhaps make use of. And as I rarely use Sandboxie to test programs but primarily to give browsing and e-mail protection, I wonder if it's practicable to deny read access to everything (other than the files Sandboxed I.E. and O.E. need) akin to a block-all firewall rule?
Is this feasible, and do the commands in Sandboxie.ini get treated like firewall rules i.e. so long as a line is above a "block all" type of command it will get executed?
I'd be grateful for guidance on the above and also to learn of closed path .ini lines that users have added.
Thanks
Martin
Closed Paths - Approaches
Moderator: Barb@Invincea
-
- Posts: 0
- Joined: Wed Dec 31, 1969 7:00 pm
I think, a good way to start is organizing your harddisk:
seperate partitions/drives or folders
a) for the operating system
b) programms folders
c) stored data from I.E. and O.E.
d) your private/personal files
And use different sandboxes instead using always the "defaultbox":
- the sandbox1 for testing new programs is only allowed to read a) and b)
- the sandbox2 for I.E. and O.E. should use a) b) c)
seperate partitions/drives or folders
a) for the operating system
b) programms folders
c) stored data from I.E. and O.E.
d) your private/personal files
And use different sandboxes instead using always the "defaultbox":
- the sandbox1 for testing new programs is only allowed to read a) and b)
- the sandbox2 for I.E. and O.E. should use a) b) c)
I don't know about firewalls, but as for Sandboxie. You can't count on the order of the settings. For example,martinr wrote:Is this feasible, and do the commands in Sandboxie.ini get treated like firewall rules i.e. so long as a line is above a "block all" type of command it will get executed?
OpenFilePath=c:\MyDocuments\My Program Data
ClosedFilePath=c:\MyDocuments
You may think this causes Sandboxie to close everything in MyDocuments except MyDocuments\My Program Data, but no. Closed paths are looked at first, and as soon as one matches, the match process is over.
In other words, MyDocuments and everything below it will be closed. The OpenFilePath setting will be meaningless in this case.
* * *
Anyway, if you care about protecting sensitive data, iceflower99's suggestion about separating sensitive data makes sense. I'd take it a bit further, and suggest the following.
Use TrueCrypt to create an encrypted logical drive. The data file for this drive can be in My Documents, but it would only be accessible in a meaningful way through the drive letter. Then, you can put the TrueCrypt drive letter in a ClosedFilePath.
tzuk
Who is online
Users browsing this forum: No registered users and 1 guest