संपादित करें

इसके माध्यम से साझा किया गया


System.Security.Permissions Namespace

Defines classes that control access to operations and resources based on policy.

Classes

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 DataProtectionPermission to be applied to code using declarative security. This class cannot be inherited.

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 box. 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.

GacIdentityPermission

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

GacIdentityPermissionAttribute

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

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.

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 KeyContainerPermissionAccessEntry objects. This class cannot be inherited.

KeyContainerPermissionAccessEntryEnumerator

Represents the enumerator for KeyContainerPermissionAccessEntry objects in a KeyContainerPermissionAccessEntryCollection.

KeyContainerPermissionAttribute

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

MediaPermission

The 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.

MediaPermissionAttribute

Allows security actions for MediaPermission 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 non-public types and members through the System.Reflection APIs. Controls some features of the System.Reflection.Emit APIs.

ReflectionPermissionAttribute

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

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.

StorePermission

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

StorePermissionAttribute

Allows security actions for StorePermission 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.

TypeDescriptorPermission

Defines partial-trust access to the TypeDescriptor class.

TypeDescriptorPermissionAttribute

Determines the permission flags that apply to a TypeDescriptor.

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.

WebBrowserPermission

The WebBrowserPermission object controls the ability to create the WebBrowser control.

WebBrowserPermissionAttribute

Allows security actions for WebBrowserPermission to be applied to code using declarative security.

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

IUnrestrictedPermission

Allows a permission to expose an unrestricted state.

Enums

DataProtectionPermissionFlags

Specifies the access permissions for encrypting data and memory.

EnvironmentPermissionAccess

Specifies access to environment variables.

FileDialogPermissionAccess

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

FileIOPermissionAccess

Specifies the type of file access requested.

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.

KeyContainerPermissionFlags

Specifies the type of key container access allowed.

MediaPermissionAudio

Specifies the permission level for audio.

MediaPermissionImage

Specifies the permission level for images.

MediaPermissionVideo

Specifies the permission level for video.

PermissionState

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

ReflectionPermissionFlag

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

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.

StorePermissionFlags

Specifies the permitted access to X.509 certificate stores.

TypeDescriptorPermissionFlags

Defines permission settings for type descriptors.

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.

WebBrowserPermissionLevel

Specifies the permission level for a Web browser.