The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
System.Security Namespace
.NET Framework 3.0
The System.Security namespace provides the underlying structure of the common language runtime security system, including base classes for permissions.
| Class | Description | |
|---|---|---|
![]() | AllowPartiallyTrustedCallersAttribute | Allows strong-named assemblies to be called by partially trusted code. Without this declaration, only fully trusted callers are able to use such assemblies. This class cannot be inherited. |
![]() | CodeAccessPermission | Defines the underlying structure of all code access permissions. |
![]() | HostProtectionException | The exception that is thrown when a denied host resource is detected. |
![]() | HostSecurityManager | Allows the control and customization of security behavior for application domains. |
![]() | NamedPermissionSet | Defines a permission set that has a name and description associated with it. This class cannot be inherited. |
![]() | PermissionSet | Represents a collection that can contain many different types of permissions. |
![]() | SecureString | Represents text that should be kept confidential. The text is encrypted for privacy when being used, and deleted from computer memory when no longer needed. This class cannot be inherited. |
![]() | SecurityContext | Encapsulates and propagates all security-related data for execution contexts transferred across threads. This class cannot be inherited. |
![]() | SecurityCriticalAttribute | Specifies that code or an assembly performs security-critical operations. |
![]() | SecurityElement | Represents the XML object model for encoding security objects. This class cannot be inherited. |
![]() | SecurityException | The exception that is thrown when a security error is detected. |
![]() | SecurityManager | Provides the main access point for classes interacting with the security system. This class cannot be inherited. |
![]() | SecurityTransparentAttribute | Specifies that an assembly cannot cause an elevation of privilege. |
![]() | SecurityTreatAsSafeAttribute | Identifies which of the nonpublic SecurityCriticalAttribute members are accessible by transparent code within the assembly. |
![]() | SuppressUnmanagedCodeSecurityAttribute | Allows managed code to call into unmanaged code without a stack walk. This class cannot be inherited. |
![]() | UnverifiableCodeAttribute | Marks modules containing unverifiable code. This class cannot be inherited. |
![]() | VerificationException | The exception that is thrown when the security policy requires code to be type safe and the verification process is unable to verify that the code is type safe. |
![]() | XmlSyntaxException | The exception that is thrown when there is a syntax error in XML parsing. This class cannot be inherited. |
| Interface | Description | |
|---|---|---|
![]() | IEvidenceFactory | Gets an object's Evidence. |
![]() | IPermission | Defines methods implemented by permission types. |
![]() | ISecurityEncodable | Defines the methods that convert permission object state to and from XML element representation. |
![]() | ISecurityPolicyEncodable | Supports the methods that convert permission object state to and from an XML element representation. |
![]() | IStackWalk | Manages the stack walk that determines whether all callers in the call stack have the required permissions to access a protected resource. |
| Enumeration | Description | |
|---|---|---|
![]() | HostSecurityManagerOptions | Specifies the security policy components to be used by the host security manager. |
![]() | PolicyLevelType | Specifies the type of a managed code policy level. |
![]() | SecurityCriticalScope | Specifies the scope of a SecurityCriticalAttribute. |
![]() | SecurityZone | Defines the integer values corresponding to security zones used by security policy. |
Community Additions
Show:


