Code-Access Security

Code-access security controls access to protected resources and operations, such as unmanaged code and file I/O. .NET code-access security performs many functions. For instance, .NET code-access security defines the permissions that allow access to system resources and enables administrators to manage and configure security policy.

Some of the most important functions .NET code-access security performs are allowing code to specify any permissions it requires to run and enabling code to demand which permissions its clients must have. It also compares a client's permissions to the permissions it must have and grants permission to loaded assemblies based on requested permissions and those set by the security policy.

So how does ...

Get Building e-Commerce Sites with the .NET Framework 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.