Built-in Permissions

for RuBoard

The .NET Framework comes with numerous permissions to protect different resources. Table 6.1 lists these permissions and their descriptions:

Table 6.1. Full List of Permission Classes Provided by the .NET Framework
Permission Class Description
System.Data.OleDb.OleDbPermission Protects access to OLE DB data sources via classes in the System.Data.OleDb namespace.
System.Data.SqlClient.SqlClientPermission Guards access to a SQL server via classes in the System.Data.SqlClient namespace.
System.Diagnostics.EventLogPermission Protects reading, writing, creating, and deleting event logs using the System.Diagnostics.EventLog class. Note that only Windows NT “family operating systems have event logs.
System.Diagnostics.PerformanceCounterPermission Safeguards use of the System.Diagnostics . PerformanceCounter class to access performance counters.
System.DirectoryServices.DirectoryServicesPermission Controls use of the System.DirectoryServices namespace, which provides access to the Active Directory.
System.Drawing.Printing.PrintingPermission Manages the ability of managed code to print documents.
System.Messaging.MessageQueuePermission Protects the ability to use message queues via the System.Messaging namespace. Message queues are useful for cross-process and cross-machine communication.
System.Net.DnsPermission Guards the right to access DNS servers on the network via the System.Net.Dns class.
System.Net.SocketPermission Controls the ability to open or accept network socket connections via the System.Net.Sockets.Socket class.
System.Net.WebPermission Safeguards the ability to access network resources with HTTP using classes in the System.Net namespace.
System.Security.Permissions.EnvironmentPermission Manages the ability to read and write environment variables using the System.Environment class.
System.Security.Permissions.FileDialogPermission Protects the use of the File Open/Save dialog via the System.Windows.Forms.FileDialog class. The File dialog is a good way to allow users to provide selected file system access to partially trusted code.
System.Security.Permissions.FileIOPermission Controls access to the file system. This is primarily, but not exclusively, used in the System.IO namespace.
System.Security.Permissions.IsolatedStorageFilePermission Guards the ability to use the .NET Framework's isolated storage functionality. Isolated storage is described in Chapter 30, "Using Cryptography with the .NET Framework: The Basics."
System.Security.Permissions.PrincipalPermission Used to represent a name and a role that you want your code to require via role-based security in the .NET Framework.
System.Security.Permissions.PublisherIdentityPermission Permission form of publisher evidence granted to code via the .NETFramework security policy.
System.Security.Permissions.ReflectionPermission Protects the ability to utilize the classes in the System.Reflection namespace. These classes allow you to discover and use types, even if they are not publicly accessible. For instance, you can enumerate all fields in a type, regardless of whether the type is public.
System.Security.Permissions.RegistryPermission Safeguards the use of the Microsoft.Win32. Registry and Microsoft.Win32.RegistryKey classes to access arbitrary registry keys and values.
System.Security.Permissions.SecurityPermission Controls access to several different resources, including application domain, remoting, serialization, and threadingclasses. This permission has a hodgepodge of different purposes.
System.Security.Permissions.SiteIdentityPermission Permission form of site evidence granted to code via the .NET Framework security policy.
System.Security.Permissions.StrongNameIdentityPermission Permission form of strong name evidence granted to code via the .NET Framework security policy.
System.Security.Permissions.UIPermission Manages the ability to display UI and use the system clipboard. This permission is used in several classes in different namespaces.
System.Security.Permissions.UrlIdentityPermission Permission form of URL evidence granted to code via the .NET Framework security policy.
System.Security.Permissions.ZoneIdentityPermission Permission form of zone evidence granted to code via the .NET Framework security policy.
System.ServiceProcess.ServiceControllerPermission Guards the ability to use the System. ServiceProcess.ServiceController class, which works with services. Note that only Windows NT “family operating systems support services.
for RuBoard


. NET Framework Security
.NET Framework Security
ISBN: 067232184X
EAN: 2147483647
Year: 2000
Pages: 235

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net