Summary

Membership conditions are some of the basic building blocks of .NET Framework security policy. A membership condition object examines the evidence on an assembly and reports whether or not it matches. There are a set of default membership condition classes that look at the different default types of evidence. .NET Framework developers can also write their own membership conditions classes to examine default or custom types of evidence.

Code groups are objects that bind a membership condition to a permission set. When an assembly matches a membership condition, the code group grants the permission set to the assembly. Code groups are formed into hierarchies to express more complicated intentions. If an assembly matches a code group, all ...

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.