System.Security.Permissions 命名空間
定義根據原則來控制作業和資源存取的類別。 Defines classes that control access to operations and resources based on policy.
類別
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 |
允許將 DataProtectionPermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 EnvironmentPermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 FileDialogPermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 FileIOPermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 GacIdentityPermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 IsolatedStorageFilePermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 IsolatedStoragePermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
表示 KeyContainerPermissionAccessEntry 物件的集合。Represents a collection of KeyContainerPermissionAccessEntry objects. 此類別無法獲得繼承。This class cannot be inherited. |
KeyContainerPermissionAccessEntryEnumerator |
表示 KeyContainerPermissionAccessEntryCollection 中的 KeyContainerPermissionAccessEntry 物件列舉值。Represents the enumerator for KeyContainerPermissionAccessEntry objects in a KeyContainerPermissionAccessEntryCollection. |
KeyContainerPermissionAttribute |
允許將 KeyContainerPermission 的安全性動作套用至使用宣告式安全性的程式碼。Allows security actions for KeyContainerPermission to be applied to code using declarative security. 此類別無法獲得繼承。This class cannot be inherited. |
MediaPermission |
MediaPermission 描述一組安全性權限,控制在部分信任的 Windows Presentation Foundation (WPF) 應用程式中使用音訊、影像和視訊媒體。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 |
允許將 MediaPermission 的安全性動作套用至使用宣告式安全性的程式碼。Allows security actions for MediaPermission to be applied to code using declarative security. |
PermissionSetAttribute |
允許使用宣告式安全性,將 PermissionSet 的安全性動作套用到程式碼。Allows security actions for a PermissionSet to be applied to code using declarative security. 此類別無法獲得繼承。This class cannot be inherited. |
PrincipalPermission |
允許針對使用中的主體進行檢查 (請參閱 IPrincipal),方法是使用為宣告式和命令式安全性動作所定義的語言建構。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 |
允許將 PrincipalPermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 PublisherIdentityPermission 的安全性動作套用至使用宣告式安全性的程式碼。Allows security actions for PublisherIdentityPermission to be applied to code using declarative security. 此類別無法獲得繼承。This class cannot be inherited. |
ReflectionPermission |
控制項透過 System.Reflection 應用程式開發介面存取非公用類型和成員。Controls access to non-public types and members through the System.Reflection APIs. 控制 System.Reflection.Emit 應用程式開發介面的部分功能。Controls some features of the System.Reflection.Emit APIs. |
ReflectionPermissionAttribute |
允許將 ReflectionPermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 RegistryPermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
指定衍生 CodeAccessSecurityAttribute 的宣告式安全性基底屬性類別。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 |
允許將 SecurityPermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 SiteIdentityPermission 的安全性動作套用至使用宣告式安全性的程式碼。Allows security actions for SiteIdentityPermission to be applied to code using declarative security. 此類別無法獲得繼承。This class cannot be inherited. |
StorePermission |
控制包含 X.509 憑證之存放區的存取。Controls access to stores containing X.509 certificates. 此類別無法獲得繼承。This class cannot be inherited. |
StorePermissionAttribute |
允許將 StorePermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 StrongNameIdentityPermission 的安全性動作套用至使用宣告式安全性的程式碼。Allows security actions for StrongNameIdentityPermission to be applied to code using declarative security. 此類別無法獲得繼承。This class cannot be inherited. |
StrongNamePublicKeyBlob |
表示強式名稱的公開金鑰資訊 (稱為 Blob)。Represents the public key information (called a blob) for a strong name. 此類別無法獲得繼承。This class cannot be inherited. |
TypeDescriptorPermission |
定義 TypeDescriptor 類別的部分定義存取。Defines partial-trust access to the TypeDescriptor class. |
TypeDescriptorPermissionAttribute |
判斷套用至 TypeDescriptor 的權限旗標。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 |
允許將 UIPermission 的安全性動作套用至使用宣告式安全性的程式碼。Allows security actions for UIPermission to be applied to code using declarative security. 此類別無法獲得繼承。This class cannot be inherited. |
UrlIdentityPermission |
定義程式碼來源 URL 的識別權限。Defines the identity permission for the URL from which the code originates. 此類別無法獲得繼承。This class cannot be inherited. |
UrlIdentityPermissionAttribute |
允許將 UrlIdentityPermission 的安全性動作套用至使用宣告式安全性的程式碼。Allows security actions for UrlIdentityPermission to be applied to code using declarative security. 此類別無法獲得繼承。This class cannot be inherited. |
WebBrowserPermission |
WebBrowserPermission 物件控制建立 WebBrowser 控制項的能力。The WebBrowserPermission object controls the ability to create the WebBrowser control. |
WebBrowserPermissionAttribute |
允許將 WebBrowserPermission 的安全性動作套用至使用宣告式安全性的程式碼。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 |
允許將 ZoneIdentityPermission 的安全性動作套用至使用宣告式安全性的程式碼。Allows security actions for ZoneIdentityPermission to be applied to code using declarative security. 此類別無法獲得繼承。This class cannot be inherited. |
介面
IUnrestrictedPermission |
允許公開不受限制狀態的權限。Allows a permission to expose an unrestricted state. |
列舉
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 |
指定隔離儲存區 (Isolated Storage) 的允許用法。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 |
指定許可的 System.Reflection 和 System.Reflection.Emit 命名空間使用。Specifies the permitted use of the System.Reflection and System.Reflection.Emit namespaces. |
RegistryPermissionAccess |
指定登錄機碼 (Registry Key) 和值的允許存取。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 |
指定對 X.509 憑證存放區的允許存取。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 |
指定 Web 瀏覽器的使用權限等級。Specifies the permission level for a Web browser. |