Code-Based Security

Code-based security is implemented via a multifaceted approach that pulls together cooperative security mechanisms to determine what an assembly is allowed to do in a system. Through the security mechanisms of evidence, code groups, security levels, and security policy, an assembly is assigned permissions in a computer system.

A code-based security policy is constructed by use of evidence, permissions, code groups, and security policy levels. Each assembly contains evidence, which is used to categorize it into a code group. Each code group has permissions that are assigned to an assembly belonging to that code group. The union of all the permissions from the code group to which the assembly belongs is then given to the assembly. ...

Get C# Unleashed 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.