Built-in Permissions

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

Get .NET Framework Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.