This documentation is archived and is not being maintained.
System.Security.Permissions Namespace
.NET Framework 1.1
The System.Security.Permissions namespace defines classes that control access to operations and resources based on policy.
Classes
| Class | Description |
|---|---|
| CodeAccessSecurityAttribute | Specifies the base attribute class for code access security. |
| EnvironmentPermission | Controls access to system and user environment variables. This class cannot be inherited. |
| EnvironmentPermissionAttribute | Allows security actions for EnvironmentPermission to be applied to code using declarative security. This class cannot be inherited. |
| FileDialogPermission | Controls the ability to access files or folders through a file dialog. This class cannot be inherited. |
| FileDialogPermissionAttribute | Allows security actions for FileDialogPermission to be applied to code using declarative security. This class cannot be inherited. |
| FileIOPermission | Controls the ability to access files and folders. This class cannot be inherited. |
| FileIOPermissionAttribute | Allows security actions for FileIOPermission to be applied to code using declarative security. This class cannot be inherited. |
| IsolatedStorageFilePermission | Specifies the allowed usage of a private virtual file system. This class cannot be inherited. |
| IsolatedStorageFilePermissionAttribute | Allows security actions for IsolatedStorageFilePermission to be applied to code using declarative security. This class cannot be inherited. |
| IsolatedStoragePermission | Represents access to generic isolated storage capabilities. |
| IsolatedStoragePermissionAttribute | Allows security actions for IsolatedStoragePermission to be applied to code using declarative security. |
| PermissionSetAttribute | Allows security actions for a PermissionSet to be applied to code using declarative security. This class cannot be inherited. |
| PrincipalPermission | Allows checks against the active principal (see IPrincipal) using the language constructs defined for both declarative and imperative security actions. This class cannot be inherited. |
| PrincipalPermissionAttribute | Allows security actions for PrincipalPermission to be applied to code using declarative security. This class cannot be inherited. |
| PublisherIdentityPermission | Represents the identity of a software publisher. This class cannot be inherited. |
| PublisherIdentityPermissionAttribute | Allows security actions for PublisherIdentityPermission to be applied to code using declarative security. This class cannot be inherited. |
| ReflectionPermission | Controls access to metadata through the System.Reflection APIs. This class cannot be inherited. |
| ReflectionPermissionAttribute | Allows security actions for ReflectionPermission to be applied to code using declarative security. This class cannot be inherited. |
| RegistryPermission | Controls the ability to access registry variables. This class cannot be inherited. |
| RegistryPermissionAttribute | Allows security actions for RegistryPermission to be applied to code using declarative security. This class cannot be inherited. |
| ResourcePermissionBase | Allows control of code access security permissions. |
| ResourcePermissionBaseEntry | Defines the smallest unit of a code access security permission set. |
| SecurityAttribute | Specifies the base attribute class for declarative security from which CodeAccessSecurityAttribute is derived. |
| SecurityPermission | Describes a set of security permissions applied to code. This class cannot be inherited. |
| SecurityPermissionAttribute | Allows security actions for SecurityPermission to be applied to code using declarative security. This class cannot be inherited. |
| SiteIdentityPermission | Defines the identity permission for the Web site from which the code originates. This class cannot be inherited. |
| SiteIdentityPermissionAttribute | Allows security actions for SiteIdentityPermission to be applied to code using declarative security. This class cannot be inherited. |
| StrongNameIdentityPermission | Defines the identity permission for strong names. This class cannot be inherited. |
| StrongNameIdentityPermissionAttribute | Allows security actions for StrongNameIdentityPermission to be applied to code using declarative security. This class cannot be inherited. |
| StrongNamePublicKeyBlob | Represents the public key information (called a blob) for a strong name. This class cannot be inherited. |
| UIPermission | Controls the permissions related to user interfaces and the clipboard. This class cannot be inherited. |
| UIPermissionAttribute | Allows security actions for UIPermission to be applied to code using declarative security. This class cannot be inherited. |
| UrlIdentityPermission | Defines the identity permission for the URL from which the code originates. This class cannot be inherited. |
| UrlIdentityPermissionAttribute | Allows security actions for UrlIdentityPermission to be applied to code using declarative security. This class cannot be inherited. |
| ZoneIdentityPermission | Defines the identity permission for the zone from which the code originates. This class cannot be inherited. |
| ZoneIdentityPermissionAttribute | Allows security actions for ZoneIdentityPermission to be applied to code using declarative security. This class cannot be inherited. |
Interfaces
| Interface | Description |
|---|---|
| IUnrestrictedPermission | Allows a permission to expose an unrestricted state. |
Enumerations
| Enumeration | Description |
|---|---|
| EnvironmentPermissionAccess | Specifies access to environment variables. |
| FileDialogPermissionAccess | Specifies the type of access to files allowed through the file dialog. |
| FileIOPermissionAccess | Specifies the type of file access requested. |
| IsolatedStorageContainment | Specifies the permitted use of isolated storage. |
| PermissionState | Specifies whether a permission should have all or no access to resources at creation. |
| ReflectionPermissionFlag | Specifies the permitted use of System.Reflection on members that are not visible. |
| RegistryPermissionAccess | Specifies the permitted access to registry keys and values. |
| SecurityAction | Specifies the security actions that can be performed using declarative security. |
| SecurityPermissionFlag | Specifies access flags for the security permission object. |
| UIPermissionClipboard | Specifies the type of clipboard access that is allowed to the calling code. |
| UIPermissionWindow | Specifies the type of windows that code is allowed to use. |
See Also
Show: