Permissions Explained

There are a few different types of permissions in the .NET Framework. The most common form is the code access permission. The next most common type is the identity permission. Finally, a small remaining set of permissions exists, although these permissions don't have a well-defined name or type.

Code Access Permissions

Code access permissions are the permission classes that derive from the abstract class System.Security.CodeAccessPermission. These constitute the standard set of permissions dealt with in assemblies. For example, there are permission classes that represent reading/writing to certain parts of the file system, reading/writing to the event log (on versions of Windows that have an event log), and accessing a database. ...

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.