It took me 123 lines to archive a full "block", with exceptions I could have done the same with a lot less lines. Also, if I install a new program then I have to open sandboxie.ini again and add the path manually to each sandbox, it's a lot of work sadly.
A exception list could be added on top, I think the implementation would be very easy. It also doesn't break existing sandboxie.ini setups since it's fully optional.
It doesn't need GUI either, just allow us adding it to the .ini file manually, I'm sure a lot people would be using it since it saves a lot time.
If exceptions would be possible my sandboxie.ini could be looking the following way:
Basic block I would have in all my sandboxes:
WriteFilePath=C:\
WriteFilePathException=%SystemRoot%\
Let's make google chrome working:
WriteFilePathException=chrome.exe,%Local AppData%\Google\Chrome\
WriteFilePathException=chrome.exe,C:\Program Files (x86)\Google\Chrome\
Thats it! Much easier to setup, very user friendly
Here is how I make google chrome working currently:
Code: Select all
WriteFilePath=C:\Program Files (x86)\Random Program 1\
WriteFilePath=C:\Program Files (x86)\Random Program 2\
WriteFilePath=C:\Program Files (x86)\Random Program 3\
WriteFilePath=C:\Program Files (x86)\Random Program 4\
WriteFilePath=C:\Program Files (x86)\Random Program 5\
WriteFilePath=C:\Program Files (x86)\Random Program 6\
WriteFilePath=C:\Program Files (x86)\Random Program 7\
WriteFilePath=C:\Program Files (x86)\Random Program 8\
WriteFilePath=C:\Program Files (x86)\Random Program 9\
... 49 other programs inside C:\Program Files (x86)
WriteFilePath=C:\Users\Nutzer\AppData\Local\Random Program 1\
WriteFilePath=C:\Users\Nutzer\AppData\Local\Random Program 2\
WriteFilePath=C:\Users\Nutzer\AppData\Local\Random Program 3\
WriteFilePath=C:\Users\Nutzer\AppData\Local\Random Program 4\
WriteFilePath=C:\Users\Nutzer\AppData\Local\Random Program 5\
WriteFilePath=C:\Users\Nutzer\AppData\Local\Random Program 6\
WriteFilePath=C:\Users\Nutzer\AppData\Local\Random Program 7\
WriteFilePath=C:\Users\Nutzer\AppData\Local\Random Program 8\
WriteFilePath=C:\Users\Nutzer\AppData\Local\Random Program 9\
... 15 other folders in C:\Users\Nutzer\AppData\Local\
WriteFilePath=C:\Users\Nutzer\AppData\Low\
WriteFilePath=C:\Users\Nutzer\AppData\Roaming\
WriteFilePath=C:\Users\Nutzer\Videos\
WriteFilePath=C:\Users\Nutzer\Searches\
WriteFilePath=C:\Users\Nutzer\Saved Games\
WriteFilePath=C:\Users\Nutzer\Pictures\
WriteFilePath=C:\Users\Nutzer\OneDrive\
WriteFilePath=C:\Users\Nutzer\Music\
WriteFilePath=C:\Users\Nutzer\Links\
WriteFilePath=C:\Users\Nutzer\Intel\
WriteFilePath=C:\Users\Nutzer\Google Drive\
WriteFilePath=C:\Users\Nutzer\Favorites\
WriteFilePath=C:\Users\Nutzer\Downloads\
WriteFilePath=C:\Users\Nutzer\Documents\
WriteFilePath=C:\Users\Nutzer\Desktop\
WriteFilePath=C:\Users\Nutzer\Contacts\
WriteFilePath=C:\Users\Nutzer\3D Objects\
WriteFilePath=C:\Users\Nutzer\.Random Program 1\
WriteFilePath=C:\Users\Nutzer\.Random Program 2\
WriteFilePath=C:\Users\Nutzer\.Random Program 3\
WriteFilePath=C:\Users\Nutzer\.Random Program 4\
WriteFilePath=C:\Users\Nutzer\.Random Program 5\
WriteFilePath=C:\Users\Nutzer\.Random Program 6\
WriteFilePath=C:\Users\Nutzer\.Random Program 7\
WriteFilePath=C:\Users\Nutzer\.Random Program 8\
WriteFilePath=C:\Users\Nutzer\.Random Program 9\
WriteFilePath=C:\Users\Public\
WriteFilePath=C:\Users\Default.migrated\
WriteFilePath=C:\Users\Default User\
WriteFilePath=C:\Users\Default\
WriteFilePath=C:\Random Program 1\
WriteFilePath=C:\Random Program 2\
WriteFilePath=C:\Random Program 3\
WriteFilePath=C:\Program Files\
WriteFilePath=C:\System Volume Information\
WriteFilePath=C:\Recovery\
WriteFilePath=C:\ProgramData\
WriteFilePath=C:\PerfLogs\
WriteFilePath=C:\Logs\
WriteFilePath=C:\Intel\
WriteFilePath=C:\Config.Msi\