sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.52k stars 1.5k forks source link

Managed config feature #2205

Open StoneMoe opened 2 years ago

StoneMoe commented 2 years ago

Is your feature request related to a problem or use case?

When using sandboxie to secure multiple PC, e.g. for every family member in my usecase, it's painful to sync new sandboxie.ini config changes to every PC.

It will be awesome to have a unified hosted config, like a static file served by self-host web server at home, and every sandboxie client can updating config via HTTP periodicity.

This is also useful for teams/companies whom are using Sandboxie.

Describe the solution you'd like

Optional comment line at the very beginning of sandboxie.ini:

#!ManagedConfig, interval=3600, src=http://gateway.home.network/config/managed-sandboxie.ini

which means fetch http://gateway.home.network/config/managed-sandboxie.ini every 3600 seconds, then overwrite local sandboxie.ini, and reload it. this also should forbidding user from modifying sandboxie setting from GUI.

It's easy to parse, compatible with previous config syntax, and easy to understand.

Describe alternatives you've considered

IDK, maybe some 3rd-party application which support syncing single file between PCs.

StoneMoe commented 9 months ago

Additionally, the managed config maintainer may be struggled with the pure-text file
so making use of the current GUI could be great

for example, managed config should NOT editable via GUI by end user
but we can ask user if they want to create a unmanaged copy when they click save button
so the maintainer will be able to edit config by this design, and push it to end user it's great to have since the config entries is still changing relatively rapidly