Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Individual config files for each sandbox #1325

Open
0x4E69676874466F78 opened this issue Oct 22, 2021 · 4 comments
Open

Individual config files for each sandbox #1325

0x4E69676874466F78 opened this issue Oct 22, 2021 · 4 comments
Labels
Feature request New feature or idea

Comments

@0x4E69676874466F78
Copy link

Currently everything is stored in Sandboxie.ini, which is not very convenient.
I propose to split this file into many configs that would be located in the configuration folder.
This would also make it easier to distribute sandboxes.

@DavidXanatos
Copy link
Member

I was thinking about such a change on and off since a long time but there are various reasons why I never did it.

  1. C:\Sandbox[somebox] is not protected so putting a file in there would make it editable by the sandboxed application which is very bad. So we would need to put that files into the root C:\Sandbox for them to be protected. What would be ok but not as pretty as than you need to grab a folder + a file, although it would not complicate deleting sandboxes as than you kill the folder with all that's in it but keep the ini file
  2. Sandboxes can be stored at arbitrary paths, so for some boxes the ini would be in the sandbox dir and the actual sandbox would be some ware else
  3. We can change the default sandbox location so that its no longer C:\Sandbox so at least for the global section we would still need a central sandboxie.ini
  4. It would complicate the settings handling as than when saving a value we would need to dispatch the write to the right file.

To summarize I don't think that the advantages overweight the downsides.

@Dyras
Copy link
Contributor

Dyras commented Oct 24, 2021

@DavidXanatos
If anything, I would propose a "Copy Sandbox settings" option if you right click a specific sandbox. Combine this with an "Add sandbox from clipboard" option and you basically got this, with all of the advantages and none of the disadvantages.

@DavidXanatos
Copy link
Member

@Dyras well you kind of have this already with the section editor in the sandbox options, open the box you want to copy copy all the text from the ini editor, create a new box with whatever presets open it go to the ini editor and paste et voila done

@isaak654 isaak654 added the Feature request New feature or idea label Nov 7, 2021
@DavidXanatos
Copy link
Member

For distributing sandboxes you can use the import/export feature which creates a 7z file with all the files + configuration.
There is another feature request #1736 which solves some issues with this one, box root protection, etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request New feature or idea
Projects
None yet
Development

No branches or pull requests

4 participants