processRestrictionsEnabled (property)
Whether process access restrictions are enabled.
Syntax
@property (nonatomic,readwrite,assign,getter=processRestrictionsEnabled,setter=setProcessRestrictionsEnabled:) BOOL processRestrictionsEnabled; - (BOOL)processRestrictionsEnabled; - (void)setProcessRestrictionsEnabled:(BOOL)newProcessRestrictionsEnabled;
public var processRestrictionsEnabled: Bool { get {...}
set {...} }
Default Value
FALSE
Remarks
This property controls whether the class should enforce per-process access restrictions; by default, it is disabled. When enabled, the AddGrantedProcess and AddDeniedProcess methods can be used to add process-specific access rules for the class to enforce across the entire virtual drive.
The current process access rules are reflected by the AccessGrantedProcess* and AccessDeniedProcess* properties.
Note: The methods and properties related to process access lists are not intended to be used from multiple threads at once. Applications that wish to use said methods and properties from multiple threads are responsible for employing proper thread synchronization techniques to ensure that manipulation and enumeration of process access information occurs in a thread-safe manner.