Trust No Program

Program Name Prefix


In several settings in the Sandboxie Ini configuration file, a program name can be specified. This tells the setting to take effect only for sandboxed processes that match the program name criteria.

The prefix is specified as the name of the executable, with an extension, but without a folder path:

  • iexplore.exe - right
  • C:\Program Files\Internet Explorer\iexplore.exe - wrong

The prefix may start with an exclamation point (!) to indicate negative criteria.

A comma (,) separates the prefix from the rest of the setting specification.

For example:

    .
    .
    .
    [DefaultBox]
    OpenFilePath=iexplore.exe,%Favorites%
    ClosedFilePath=!iexplore.exe,%Favorites%
			

This combination means that Internet Explorer (iexplore.exe) has direct access to the Favorites folder and the shortcuts within it.

On the other hand, any other program (NOT iexplore.exe, note the exclamation point) is denied any kind of access to that same folder.

Jump to
Sandboxie Ini
setting:


Global Settings:

ByteOrderMark

AlertProcess

ForceDisableSeconds
ForceDisableAdminOnly

EditAdminOnly
EditPassword
MonitorAdminOnly

ActivationPrompt


Enabled

FileRootPath
IpcRootPath
KeyRootPath

AutoDelete
NeverDelete
DeleteCommand

AutoRecover
AutoRecoverIgnore
RecoverFolder

AutoExec

BoxNameTitle
BorderColor
Description

CopyLimitKb
CopyLimitSilent

ForceFolder
ForceProcess
LingerProcess
LeaderProcess

NotifyInternetAccessDenied
NotifyStartRunAccessDenied

BlockDrivers
BlockFakeInput
BlockPassword
BlockSysParam
BlockWinHooks

BlockPort

DropAdminRights

OpenFilePath
OpenPipePath
ReadFilePath
WriteFilePath
ClosedFilePath

OpenKeyPath
ReadKeyPath
WriteKeyPath
ClosedKeyPath

OpenIpcPath
ClosedIpcPath

OpenWinClass
OpenClsid
OpenProtectedStorage
OpenCredentials

InjectDll
InjectDll64

ProcessLimit1
ProcessLimit2


See also:

Expandable VariablesShell FoldersProgram Name PrefixDeprecated Settings

Top

Sandboxie is Copyright © 2004-2019 by Sandboxie Holdings, LLC.  All rights reserved.
Sandboxie.com | Contact Author