ProcessRestrictionsEnabled Property

Whether process access restrictions are enabled.

Syntax

func (obj *CBDrive) ProcessRestrictionsEnabled() (bool, error)
func (obj *CBDrive) SetProcessRestrictionsEnabled(value bool) error

Default Value

false

Remarks

This property controls whether the component 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 component 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.

Data Type

bool

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Storage 2020 Go Edition - Version 20.0 [Build 8031]