SecurityManager
Provides the main access point for classes interacting with the security system. This class cannot be inherited.
Gets or sets a value indicating whether code must have Execution in order to execute.
Gets or sets a value indicating whether security is enabled.
Determines whether the current thread requires a security context capture if its security state has to be re-created at a later point in time.
Gets a permission set that is safe to grant to an application that has the provided evidence.
Gets the granted zone identity and URL identity permission sets for the current assembly.
Determines whether a permission is granted to the caller.
Loads a PolicyLevel from the specified file.
Loads a PolicyLevel from the specified string.
Provides an enumerator to access the security policy hierarchy by levels, such as computer policy and user policy.
Determines what permissions to grant to code based on the specified evidence.
public static PermissionSet ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, out PermissionSet denied)
Determines what permissions to grant to code based on the specified evidence and requests.
Determines what permissions to grant to code based on the specified evidence.
Gets a collection of code groups matching the specified evidence.
Determines which permissions to grant to code based on the specified evidence, excluding the policy for the AppDomain level.
Saves the modified security policy state.
Saves a modified security policy level loaded with LoadPolicyLevelFromFile.