Mono Class Library: System.Security.Permissions NamespaceSystem.Security.Permissions.SecurityPermissionFlag Enumeration |
|
This enumeration is used by System.Security.Permissions.SecurityPermission.
System.Security.Permissions.SecurityPermissionFlag is a bit-field; specify multiple values using the bitwise OR operator.
For information on security, see Partition II of the CLI Specification.
Note: Many of these flags are powerful and should only be granted to highly trusted code.[Edit]
Member Name Description AllFlags Documentation for this section has not yet been entered. [Edit] Assertion Specifies the ability to assert that all of the callers of the code granted this permission will pass the check for a specific permission or permission set.
The ability to assert a specific permission or permission set allows code to ensure that its callers do not fail with a security exception for lack of the specific permission or permission set asserted.
Note: Asserting a permission is often used when writing library code that accesses protected resources but itself does not expose these resources in any exploitable way to the calling code.[Edit]BindingRedirects Documentation for this section has not yet been entered. [Edit] ControlAppDomain Documentation for this section has not yet been entered. [Edit] ControlDomainPolicy Documentation for this section has not yet been entered. [Edit] ControlEvidence Documentation for this section has not yet been entered. [Edit] ControlPolicy Documentation for this section has not yet been entered. [Edit] ControlPrincipal Documentation for this section has not yet been entered. [Edit] ControlThread Specifies the ability to control thread behavior. The operations protected include System.Threading.Thread.Abort(object) and System.Threading.Thread.ResetAbort . [Edit] Execution Specifies permission for the code to run. Without this permission managed code cannot execute. [Edit] Infrastructure Documentation for this section has not yet been entered. [Edit] NoFlags Specifies that none of the permissions in this enumeration are available. [Edit] RemotingConfiguration Documentation for this section has not yet been entered. [Edit] SerializationFormatter Documentation for this section has not yet been entered. [Edit] SkipVerification Specifies the right to skip the verification checks that ensure type safety and metadata correctness in an assembly. If an assembly has been granted this permission it will not fail with a System.Security.VerificationException even if the assembly contains unverifiable constructs.
Note: Code that is unverifiable can execute without causing a System.Security.VerificationException if this permission is granted.[Edit]UnmanagedCode Specifies the ability to call unmanaged code.
Note: Because unmanaged code potentially allows other permissions to be bypassed, this permission should be used with caution. It is used for applications calling native code using PInvoke.[Edit]
Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0