.NET Framework Security
by Brian A. LaMacchia, Sebastian Lange, Matthew Lyons, Rudi Martin, Kevin T. Price
Code Groups
Now that we have covered membership conditions, it is logical to consider how they are used in the bigger picture. This is where code groups come into play. Code groups roughly define bindings between membership conditions and permission sets. If code matches the membership condition in a code group, it is granted a permission set.
From a high-level point of view, code groups are more than a binding between membership conditions and permission sets. They represent the intention of how much trust to grant code. For example, you may want to allow code loaded from your company's Web site to have full use of the network, but not code loaded from any other Web site. Different code groups can be constructed to express these intentions. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access