ForceMarkOfTheWeb is a global setting in Sandboxie Ini. When enabled, it forces all files with the Mark of The Web (MOTW) to be automatically sandboxed in a designated sandbox. This provides enhanced security by ensuring that files downloaded from the internet or received via email are automatically isolated.
The feature uses two global settings:
[GlobalSettings]
ForceMarkOfTheWeb=y
Enables automatic sandboxing of files with the Mark of The Web attribute.
[GlobalSettings]
MarkOfTheWebBox=Web_Box
Specifies which sandbox should be used for MOTW files. The default value is DefaultBox if not specified.
The Mark of The Web (MOTW) is a security feature in Windows that marks files as having originated from the internet or other untrusted locations. Windows automatically applies this mark to:
- Files downloaded from web browsers
- Email attachments
- Files extracted from ZIP archives that were downloaded
- Files received through instant messaging applications
- Files copied from network shares marked as internet zones
- This is a global setting that affects all sandboxes on the system
- The specified sandbox must already exist and be enabled in your Sandboxie configuration
- The sandbox name is case-sensitive and must match exactly
- Files that are already running in any sandbox are not affected by this setting
If MOTW files are not being sandboxed:
- Verify both settings are configured:
ForceMarkOfTheWeb=yis set in[GlobalSettings]MarkOfTheWebBox=SandboxNamepoints to an existing sandbox
- Check sandbox name: Ensure the sandbox name matches exactly (case-sensitive)
- Confirm sandbox exists and is enabled
- Verify files have MOTW attribute: Use
dir /r filenameto check forZone.Identifierstream
- ForceProcess: Forces specific programs into sandboxes
- ForceFolder: Forces files from specific folders into sandboxes
This setting can be configured in Sandboxie Plus through: Global Settings > Program Control > Force Process Options
