Now we have code groups and code group hierarchies made up of membership conditions and permission sets. These aren't quite enough to understand security policy, though. Policy levels complete the picture.
This section will cover the following points about policy levels:
The contents of a policy level
The four different policy levels
How to work with policy levels
First, policy levels are represented by the System.Security.Policy.PolicyLevel class. This class has no public constructor because policy levels cannot be constructed arbitrarily. Rather, the system creates policy levels that can be enumerated by calling the method System.Security.SecurityManager.PolicyHierarchy.
Policy levels are constructed by the ...