Configuration Protection
Initially, anyone using Sandboxie Control or the Sandman UI can change any aspect of the Sandboxie configuration, which is stored in the Sandboxie Ini configuration file. Additionally, anyone with access to the configuration text file can also manipulate the configuration and reload it into Sandboxie.
It is possible to activate protection of Sandboxie Ini configuration file from unauthorized changes. Sandboxie offers four modes of protection:
- Only Administrator user accounts can make changes (See also: EditAdminOnly.)
- Password must be entered in order to make changes (See also: EditPassword.)
- Only Administrator user accounts can use Pause Forcing Programs command (See also: ForceDisableAdminOnly.)
- Clear password when main window becomes hidden (See also: ForgetPassword.)
All modes can be active at the same time.
The protection applies to the Global Settings, Sandbox Settings and Template Settings sections of the Sandboxie Ini configuration file. It does not apply to any User Settings sections, which store per-user preferences.
To activate the protection in Sandboxie Control, use the Configure menu > Lock Configuration command.
To activate the protection in Sandman, use the Options menu > Global Settings > Advanced Config > Sandboxie.ini Presets > Config Protection command.
To prevent circumvention of the protection, please consider the following points:
Placement of the configuration file: The Sandboxie Ini page describes the current search order, including the driver's custom IniPath if configured. Protect the selected configuration and consider locations that could take precedence over it; changing which file is loaded can change the protections in effect.
Access to the configuration file: Adjust the permissions on the Sandboxie Ini configuration file to allow write access only to the SYSTEM account. Any other user account must still be able to read the configuration, so read access should be allowed to the user group Authenticated Users or Everyone.