CodeAccessPermission Hierarchy

The following table lists the classes derived from System.Security.CodeAccessPermission .

Derived Classes

Class Description
System.Configuration.ConfigurationPermission Provides a permission structure that allows methods or classes to access configuration files.
System.Data.Common.DBDataPermission Enables a .NET Framework data provider to help ensure that a user has a security level adequate for accessing data.
System.Data.OracleClient.OraclePermission Enables the .NET Framework Data Provider for Oracle to help ensure that a user has a security level adequate to access an Oracle database.
System.Drawing.Printing.PrintingPermission Controls access to printers. This class cannot be inherited.
System.Messaging.MessageQueuePermission Allows control of code access permissions for messaging.
System.Net.DnsPermission Controls rights to access Domain Name System (DNS) servers on the network.
System.Net.Mail.SmtpPermission Controls access to Simple Mail Transport Protocol (SMTP) servers.
System.Net.NetworkInformation.NetworkInformationPermission Controls access to network information and traffic statistics for the local computer. This class cannot be inherited.
System.Net.SocketPermission Controls rights to make or accept connections on a transport address.
System.Net.WebPermission Controls rights to access HTTP Internet resources.
System.Security.Permissions.DataProtectionPermission Controls the ability to access encrypted data and memory. This class cannot be inherited.
System.Security.Permissions.EnvironmentPermission Controls access to system and user environment variables. This class cannot be inherited.
System.Security.Permissions.FileDialogPermission Controls the ability to access files or folders through a file dialog. This class cannot be inherited.
System.Security.Permissions.FileIOPermission Controls the ability to access files and folders. This class cannot be inherited.
System.Security.Permissions.GacIdentityPermission Defines the identity permission for files originating in the global assembly cache. This class cannot be inherited.
System.Security.Permissions.IsolatedStoragePermission Represents access to generic isolated storage capabilities.
System.Security.Permissions.KeyContainerPermission Controls the ability to access key containers. This class cannot be inherited.
System.Security.Permissions.PublisherIdentityPermission Represents the identity of a software publisher. This class cannot be inherited.
System.Security.Permissions.ReflectionPermission Controls access to metadata through the System.Reflection APIs. This class cannot be inherited.
System.Security.Permissions.RegistryPermission Controls the ability to access registry variables. This class cannot be inherited.
System.Security.Permissions.ResourcePermissionBase Allows control of code access security permissions.
System.Security.Permissions.SecurityPermission Describes a set of security permissions applied to code. This class cannot be inherited.
System.Security.Permissions.SiteIdentityPermission Defines the identity permission for the Web site from which the code originates. This class cannot be inherited.
System.Security.Permissions.StorePermission Controls access to stores containing X.509 certificates. This class cannot be inherited.
System.Security.Permissions.StrongNameIdentityPermission Defines the identity permission for strong names. This class cannot be inherited.
System.Security.Permissions.UIPermission Controls the permissions related to user interfaces and the clipboard. This class cannot be inherited.
System.Security.Permissions.UrlIdentityPermission Defines the identity permission for the URL from which the code originates. This class cannot be inherited.
System.Security.Permissions.ZoneIdentityPermission Defines the identity permission for the zone from which the code originates. This class cannot be inherited.
System.Transactions.DistributedTransactionPermission The permission that is demanded by System.Transactions when management of a transaction is escalated to MSDTC. This class cannot be inherited.
System.Web.AspNetHostingPermission Controls access permissions in ASP.NET hosted environments. This class cannot be inherited.

See Also

Reference

CodeAccessPermission Class
CodeAccessPermission Members
System.Security Namespace

Other Resources

Security Permissions
Requesting Permissions