Configuration File Syntax Parent topic

The configuration file uses the XML format to specify parameters used by Safe Lock.
Important
Important
Safe Lock only supports configuration files in the UTF-8 file format.
Refer to the following example of the configuration file.
<?xml version="1.0" encoding="UTF-8"?>
<Configurations version="1.00.000" xmlns:xsi="http://www.w3.or
g/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="WKCon
fig.xsd">
	<Configuration>
		<AccountGroup>
			<Account Id="{24335D7C-1204-43d1-9CBB-332D688C85B6}
" Enable="no">
				<Password/>
			</Account>
		</AccountGroup>
		<UI>
			<SystemTaskTrayIcon Enable="yes">
				<BlockNotification Enable="no" AlwaysOnTop="yes
" ShowDetails="yes" Authenticate="yes">
					<Title/>
					<Message/>
				</BlockNotification>
			</SystemTaskTrayIcon>
		</UI>
		<Feature>
			<ApplicationLockDown LockDownMode="2">
				<WhiteList RecentHistoryUnapprovedFilesLimit=
"50">
	                        <ExclusionList>
                                  <Folder>C:\EXCLUDED_FOLDER\
DLL\</Folder>
                                  <Folder>C:\EXCLUDED_FOLDER\
EXE\</Folder>
                                  <Folder>C:\EXCLUDED_FOLDER\
SCRIPT\</Folder>
                                  <Extension>png</Extension>
                                  <Extension>bmp</Extension>
                               </ExclusionList>
                            </WhiteList>
				<ScriptLockdown Enable="yes">
					<Extension Id="bat">
						<Interpreter>cmd.exe</Interpreter>
					</Extension>
					<Extension Id="cmd">
						<Interpreter>cmd.exe</Interpreter>
					</Extension>
					<Extension Id="com">
						<Interpreter>ntvdm.exe</Interpreter>
					</Extension>
					<Extension Id="dll">
						<Interpreter>ntvdm.exe</Interpreter>
					</Extension>
					<Extension Id="drv">
						<Interpreter>ntvdm.exe</Interpreter>
					</Extension>
					<Extension Id="exe">
						<Interpreter>ntvdm.exe</Interpreter>
					</Extension>
					<Extension Id="js">
						<Interpreter>cscript.exe</Interpreter>
						<Interpreter>wscript.exe</Interpreter>
					</Extension>
					<Extension Id="msi">
						<Interpreter>msiexec.exe</Interpreter>
					</Extension>
					<Extension Id="pif">
						<Interpreter>ntvdm.exe</Interpreter>
					</Extension>
					<Extension Id="ps1">
						<Interpreter>powershell.exe</Interpret
er>
					</Extension>
					<Extension Id="sys">
						<Interpreter>ntvdm.exe</Interpreter>
					</Extension>
					<Extension Id="vbe">
						<Interpreter>cscript.exe</Interpreter>
						<Interpreter>wscript.exe</Interpreter>
					</Extension>
					<Extension Id="vbs">
						<Interpreter>cscript.exe</Interpreter>
						<Interpreter>wscript.exe</Interpreter>
					</Extension>
				</ScriptLockdown>
				<TrustedUpdater>
					<PredefinedTrustedUpdater Enable="no">
						<RuleSet/>
					</PredefinedTrustedUpdater>
					<WindowsUpdateSupport Enable="no"/>
				</TrustedUpdater>
				<DllDriverLockDown Enable="yes"/>
				<ExceptionPath Enable="no">
					<ExceptionPathList/>
				</ExceptionPath>
				<TrustedCertification Enable="yes"/>
				<TrustedHash Enable="no"/>
				<WriteProtection Enable="no" ActionMode="1" 
ProtectApprovedList="yes"/>
				<CustomAction ActionMode="0"/>
				<FilelessAttackPrevention Enable="no">
					<ExceptionList/>
				</FilelessAttackPrevention>
			</ApplicationLockDown>
			<UsbMalwareProtection Enable="no" ActionMode="1"/>
			<NetworkVirusProtection Enable="yes" ActionMode=
"1"/>
			<IntegrityMonitoring Enable="no"/>
			<StorageDeviceBlocking Enable="no" ActionMode="1"/>
			<Log>
				<EventLog Enable="yes">
					<Level>
						<WarningLog Enable="yes"/>
						<InformationLog Enable="no"/>
					</Level>
					<BlockedAccessLog Enable="yes"/>
					<ApprovedAccessLog Enable="yes">
						<TrustedUpdaterLog Enable="yes"/>
						<DllDriverLog Enable="no"/>
						<ExceptionPathLog Enable="yes"/>
						<TrustedCertLog Enable="yes"/>
						<TrustedHashLog Enable="yes"/>
						<WriteProtectionLog Enable="yes"/>
					</ApprovedAccessLog>
					<SystemEventLog Enable="yes">
						<ExceptionPathLog Enable="yes"/>
						<WriteProtectionLog Enable="yes"/>
					</SystemEventLog>
					<ListLog Enable="yes"/>
					<UsbMalwareProtectionLog Enable="yes"/>
					<ExecutionPreventionLog Enable="yes"/>
					<NetworkVirusProtectionLog Enable="yes"/>
					<IntegrityMonitoringLog>
						<FileCreatedLog Enable="yes"/>
						<FileModifiedLog Enable="yes"/>
						<FileDeletedLog Enable="yes"/>
						<FileRenamedLog Enable="yes"/>
						<RegValueModifiedLog Enable="yes"/>
						<RegValueDeletedLog Enable="yes"/>
						<RegKeyCreatedLog Enable="yes"/>
						<RegKeyDeletedLog Enable="yes"/>
						<RegKeyRenamedLog Enable="yes"/>
					</IntegrityMonitoringLog>
					<DeviceControlLog Enable="yes"/>
				</EventLog>
				<DebugLog Enable="no"/>
			</Log>
		</Feature>
		<ManagedMode Enable="no">
			<Agent>
				<Port/>
				<SslAllowBeast>1</SslAllowBeast>
				<PollServer>0</PollServer>
				<PollServerInterval>10</PollServerInterval>
			</Agent>
			<Server>
				<HostName/>
				<FastPort/>
				<SlowPort/>
				<ApiKey/>
			</Server>
			<Message InitialRetryInterval="120" 
MaxRetryInterval="7680">
				<Register Trigger="1"/>
				<Unregister Trigger="1"/>
				<UpdateStatus Trigger="1"/>
				<UploadBlockedEvent Trigger="1"/>
				<CheckFileHash Trigger="1"/>
				<QuickScanFile Trigger="1"/>
			</Message>
			<MessageRandomization TotalGroupNum="1" OwnGroupIn
dex="0" TimePeriod="0"/>
			<Proxy Mode="0">
				<HostName/>
				<Port/>
				<UserName/>
				<Password/>
			</Proxy>
		</ManagedMode>
	</Configuration>
	<Permission>
		<AccountRef Id="{24335D7C-1204-43d1-9CBB-332D688C85B6}
">
			<UIControl Id="DetailSetting" State="no"/>
			<UIControl Id="LockUnlock" State="yes"/>
			<UIControl Id="LaunchUpdater" State="yes"/>
			<UIControl Id="RecentHistoryUnapprovedFiles" State
="yes"/>
			<UIControl Id="ImportExportList" State="yes"/>
			<UIControl Id="ListManagement" State="yes"/>
			<UIControl Id="SupportToolUninstall" State="no"/>
		</AccountRef>
	</Permission>
</Configurations>