Navigation
API > API/Plugins > API/Plugins/SecuritySandbox > API/Plugins/SecuritySandbox/ISecuritySandbox
Description
Permanently restrict this process. The exact restrictions applied depend on operating system and configuration.
Your game can initialize with normal operating system access then call this function before activating online features or loading user generated content to reduce risks. USecuritySandboxSettings can also be configured to automatically apply restrictions without needing to call this function. If SecuritySandbox is disabled by config or command line parameter then this function will do nothing.
NOTE: State initialized/acquired prior to this call may allow bypassing restrictions, e.g. on Windows file handles that were opened beforehand and not closed can still be used.
| Name | RestrictSelf |
| Type | function |
| Header File | /Engine/Plugins/Experimental/SecuritySandbox/Source/SecuritySandbox/Public/ISecuritySandbox.h |
| Include Path | #include "ISecuritySandbox.h" |
void RestrictSelf()