System.Security.Permissions Namespace

The System.Security.Permissions namespace defines classes that control access to operations and resources based on policy.

Remarks

To be added.

Classes

TypeReason
CodeAccessSecurityAttribute

Specifies the base attribute class for code access security.

DataProtectionPermission

Controls the ability to access encrypted data and memory. This class cannot be inherited.

DataProtectionPermissionAttribute

Allows security actions for System.Security.Permissions.DataProtectionPermission to be applied to code using declarative security. This class cannot be inherited.

DataProtectionPermissionFlags

Specifies the access permissions for encrypting data and memory.

EnvironmentPermission

Controls access to system and user environment variables. This class cannot be inherited.

EnvironmentPermissionAccess

Specifies access to environment variables.

EnvironmentPermissionAttribute

Allows security actions for System.Security.Permissions.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 box. This class cannot be inherited.

FileDialogPermissionAccess

Specifies the type of access to files allowed through the File dialog boxes.

FileDialogPermissionAttribute

Allows security actions for System.Security.Permissions.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.

FileIOPermissionAccess

Specifies the type of file access requested.

FileIOPermissionAttribute

Allows security actions for System.Security.Permissions.FileIOPermission to be applied to code using declarative security. This class cannot be inherited.

GacIdentityPermission

Defines the identity permission for files originating in the global assembly cache. This class cannot be inherited.

GacIdentityPermissionAttribute

Allows security actions for System.Security.Permissions.GacIdentityPermission to be applied to code using declarative security. This class cannot be inherited.

HostProtectionAttribute

Allows the use of declarative security actions to determine host protection requirements. This class cannot be inherited.

HostProtectionResource

Specifies categories of functionality potentially harmful to the host if invoked by a method or class.

IsolatedStorageContainment

Specifies the permitted use of isolated storage.

IsolatedStorageFilePermission

Specifies the allowed usage of a private virtual file system. This class cannot be inherited.

IsolatedStorageFilePermissionAttribute

Allows security actions for System.Security.Permissions.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 System.Security.Permissions.IsolatedStoragePermission to be applied to code using declarative security.

IUnrestrictedPermission

Allows a permission to expose an unrestricted state.

KeyContainerPermission

Controls the ability to access key containers. This class cannot be inherited.

KeyContainerPermissionAccessEntry

Specifies access rights for specific key containers. This class cannot be inherited.

KeyContainerPermissionAccessEntryCollection

Represents a collection of System.Security.Permissions.KeyContainerPermissionAccessEntry objects. This class cannot be inherited.

KeyContainerPermissionAccessEntryEnumerator

Represents the enumerator for System.Security.Permissions.KeyContainerPermissionAccessEntry objects in a System.Security.Permissions.KeyContainerPermissionAccessEntryCollection.

KeyContainerPermissionAttribute

Allows security actions for System.Security.Permissions.KeyContainerPermission to be applied to code using declarative security. This class cannot be inherited.

KeyContainerPermissionFlags

Specifies the type of key container access allowed.

PermissionSetAttribute

Allows security actions for a System.Security.PermissionSet to be applied to code using declarative security. This class cannot be inherited.

PermissionState

Specifies whether a permission should have all or no access to resources at creation.

PrincipalPermission

Allows checks against the active principal (see System.Security.Principal.IPrincipal) using the language constructs defined for both declarative and imperative security actions. This class cannot be inherited.

PrincipalPermissionAttribute

Allows security actions for System.Security.Permissions.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 System.Security.Permissions.PublisherIdentityPermission to be applied to code using declarative security. This class cannot be inherited.

ReflectionPermission

Controls access to non-public types and members through the System.Reflection APIs. Controls some features of the System.Reflection.Emit APIs.

ReflectionPermissionAttribute

Allows security actions for System.Security.Permissions.ReflectionPermission to be applied to code using declarative security.

ReflectionPermissionFlag

Specifies the permitted use of the System.Reflection and System.Reflection.Emit namespaces.

RegistryPermission

Controls the ability to access registry variables. This class cannot be inherited.

RegistryPermissionAccess

Specifies the permitted access to registry keys and values.

RegistryPermissionAttribute

Allows security actions for System.Security.Permissions.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.

SecurityAction

Specifies the security actions that can be performed using declarative security.

SecurityAttribute

Specifies the base attribute class for declarative security from which System.Security.Permissions.CodeAccessSecurityAttribute is derived.

SecurityPermission

Describes a set of security permissions applied to code. This class cannot be inherited.

SecurityPermissionAttribute

Allows security actions for System.Security.Permissions.SecurityPermission to be applied to code using declarative security. This class cannot be inherited.

SecurityPermissionFlag

Specifies access flags for the security permission object.

SiteIdentityPermission

Defines the identity permission for the Web site from which the code originates. This class cannot be inherited.

SiteIdentityPermissionAttribute

Allows security actions for System.Security.Permissions.SiteIdentityPermission to be applied to code using declarative security. This class cannot be inherited.

StorePermission

Controls access to stores containing X.509 certificates. This class cannot be inherited.

StorePermissionAttribute

Allows security actions for System.Security.Permissions.StorePermission to be applied to code using declarative security. This class cannot be inherited.

StorePermissionFlags

Specifies the permitted access to X.509 certificate stores.

StrongNameIdentityPermission

Defines the identity permission for strong names. This class cannot be inherited.

StrongNameIdentityPermissionAttribute

Allows security actions for System.Security.Permissions.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 System.Security.Permissions.UIPermission to be applied to code using declarative security. This class cannot be inherited.

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.

UrlIdentityPermission

Defines the identity permission for the URL from which the code originates. This class cannot be inherited.

UrlIdentityPermissionAttribute

Allows security actions for System.Security.Permissions.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 System.Security.Permissions.ZoneIdentityPermission to be applied to code using declarative security. This class cannot be inherited.