Export (0) Print
Expand All
Expand Minimize

System.Security.Permissions Namespace

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

  ClassDescription
Public classCodeAccessSecurityAttributeSpecifies the base attribute class for code access security.
Public classDataProtectionPermissionControls the ability to access encrypted data and memory. This class cannot be inherited.
Public classDataProtectionPermissionAttributeAllows security actions for DataProtectionPermission to be applied to code using declarative security. This class cannot be inherited.
Public classEnvironmentPermissionControls access to system and user environment variables. This class cannot be inherited.
Public classEnvironmentPermissionAttributeAllows security actions for EnvironmentPermission to be applied to code using declarative security. This class cannot be inherited.
Public classFileDialogPermissionControls the ability to access files or folders through a File dialog box. This class cannot be inherited.
Public classFileDialogPermissionAttributeAllows security actions for FileDialogPermission to be applied to code using declarative security. This class cannot be inherited.
Public classFileIOPermissionControls the ability to access files and folders. This class cannot be inherited.
Public classFileIOPermissionAttributeAllows security actions for FileIOPermission to be applied to code using declarative security. This class cannot be inherited.
Public classGacIdentityPermissionDefines the identity permission for files originating in the global assembly cache. This class cannot be inherited.
Public classGacIdentityPermissionAttributeAllows security actions for GacIdentityPermission to be applied to code using declarative security. This class cannot be inherited.
Public classHostProtectionAttributeAllows the use of declarative security actions to determine host protection requirements. This class cannot be inherited.
Public classIsolatedStorageFilePermissionSpecifies the allowed usage of a private virtual file system. This class cannot be inherited.
Public classIsolatedStorageFilePermissionAttributeAllows security actions for IsolatedStorageFilePermission to be applied to code using declarative security. This class cannot be inherited.
Public classIsolatedStoragePermissionRepresents access to generic isolated storage capabilities.
Public classIsolatedStoragePermissionAttributeAllows security actions for IsolatedStoragePermission to be applied to code using declarative security.
Public classKeyContainerPermissionControls the ability to access key containers. This class cannot be inherited.
Public classKeyContainerPermissionAccessEntrySpecifies access rights for specific key containers. This class cannot be inherited.
Public classKeyContainerPermissionAccessEntryCollectionRepresents a collection of KeyContainerPermissionAccessEntry objects. This class cannot be inherited.
Public classKeyContainerPermissionAccessEntryEnumeratorRepresents the enumerator for KeyContainerPermissionAccessEntry objects in a KeyContainerPermissionAccessEntryCollection.
Public classKeyContainerPermissionAttributeAllows security actions for KeyContainerPermission to be applied to code using declarative security. This class cannot be inherited.
Public classMediaPermissionThe MediaPermission describes a set of security permissions that controls the ability for audio, image, and video media to work in a partial-trust Windows Presentation Foundation (WPF) application.
Public classMediaPermissionAttributeAllows security actions for MediaPermission to be applied to code using declarative security.
Public classPermissionSetAttributeAllows security actions for a PermissionSet to be applied to code using declarative security. This class cannot be inherited.
Public classPrincipalPermissionAllows checks against the active principal (see IPrincipal) using the language constructs defined for both declarative and imperative security actions. This class cannot be inherited.
Public classPrincipalPermissionAttributeAllows security actions for PrincipalPermission to be applied to code using declarative security. This class cannot be inherited.
Public classPublisherIdentityPermissionRepresents the identity of a software publisher. This class cannot be inherited.
Public classPublisherIdentityPermissionAttributeAllows security actions for PublisherIdentityPermission to be applied to code using declarative security. This class cannot be inherited.
Public classReflectionPermissionControls access to non-public types and members through the System.Reflection APIs. Controls some features of the System.Reflection.Emit APIs.
Public classReflectionPermissionAttributeAllows security actions for ReflectionPermission to be applied to code using declarative security.
Public classRegistryPermissionControls the ability to access registry variables. This class cannot be inherited.
Public classRegistryPermissionAttributeAllows security actions for RegistryPermission to be applied to code using declarative security. This class cannot be inherited.
Public classResourcePermissionBaseAllows control of code access security permissions.
Public classResourcePermissionBaseEntryDefines the smallest unit of a code access security permission set.
Public classSecurityAttributeSpecifies the base attribute class for declarative security from which CodeAccessSecurityAttribute is derived.
Public classSecurityPermissionDescribes a set of security permissions applied to code. This class cannot be inherited.
Public classSecurityPermissionAttributeAllows security actions for SecurityPermission to be applied to code using declarative security. This class cannot be inherited.
Public classSiteIdentityPermissionDefines the identity permission for the Web site from which the code originates. This class cannot be inherited.
Public classSiteIdentityPermissionAttributeAllows security actions for SiteIdentityPermission to be applied to code using declarative security. This class cannot be inherited.
Public classStorePermissionControls access to stores containing X.509 certificates. This class cannot be inherited.
Public classStorePermissionAttributeAllows security actions for StorePermission to be applied to code using declarative security. This class cannot be inherited.
Public classStrongNameIdentityPermissionDefines the identity permission for strong names. This class cannot be inherited.
Public classStrongNameIdentityPermissionAttributeAllows security actions for StrongNameIdentityPermission to be applied to code using declarative security. This class cannot be inherited.
Public classStrongNamePublicKeyBlobRepresents the public key information (called a blob) for a strong name. This class cannot be inherited.
Public classUIPermissionControls the permissions related to user interfaces and the clipboard. This class cannot be inherited.
Public classUIPermissionAttributeAllows security actions for UIPermission to be applied to code using declarative security. This class cannot be inherited.
Public classUrlIdentityPermissionDefines the identity permission for the URL from which the code originates. This class cannot be inherited.
Public classUrlIdentityPermissionAttributeAllows security actions for UrlIdentityPermission to be applied to code using declarative security. This class cannot be inherited.
Public classWebBrowserPermissionThe WebBrowserPermission object controls the ability to create the WebBrowser control.
Public classWebBrowserPermissionAttributeAllows security actions for WebBrowserPermission to be applied to code using declarative security.
Public classZoneIdentityPermissionDefines the identity permission for the zone from which the code originates. This class cannot be inherited.
Public classZoneIdentityPermissionAttributeAllows security actions for ZoneIdentityPermission to be applied to code using declarative security. This class cannot be inherited.

  InterfaceDescription
Public interfaceIUnrestrictedPermissionAllows a permission to expose an unrestricted state.

  EnumerationDescription
Public enumerationDataProtectionPermissionFlagsSpecifies the access permissions for encrypting data and memory.
Public enumerationEnvironmentPermissionAccessSpecifies access to environment variables.
Public enumerationFileDialogPermissionAccessSpecifies the type of access to files allowed through the File dialog boxes.
Public enumerationFileIOPermissionAccessSpecifies the type of file access requested.
Public enumerationHostProtectionResourceSpecifies categories of functionality potentially harmful to the host if invoked by a method or class.
Public enumerationIsolatedStorageContainmentSpecifies the permitted use of isolated storage.
Public enumerationKeyContainerPermissionFlagsSpecifies the type of key container access allowed.
Public enumerationMediaPermissionAudioSpecifies the permission level for audio.
Public enumerationMediaPermissionImageSpecifies the permission level for images.
Public enumerationMediaPermissionVideoSpecifies the permission level for video.
Public enumerationPermissionStateSpecifies whether a permission should have all or no access to resources at creation.
Public enumerationReflectionPermissionFlagSpecifies the permitted use of the System.Reflection and System.Reflection.Emit namespaces.
Public enumerationRegistryPermissionAccessSpecifies the permitted access to registry keys and values.
Public enumerationSecurityActionSpecifies the security actions that can be performed using declarative security.
Public enumerationSecurityPermissionFlagSpecifies access flags for the security permission object.
Public enumerationStorePermissionFlagsSpecifies the permitted access to X.509 certificate stores.
Public enumerationUIPermissionClipboardSpecifies the type of clipboard access that is allowed to the calling code.
Public enumerationUIPermissionWindowSpecifies the type of windows that code is allowed to use.
Public enumerationWebBrowserPermissionLevelSpecifies the permission level for a Web browser.

Community Additions

ADD
Show:
© 2014 Microsoft