Policy Manager

The Policy Manager in the CLR performs a number of functions by using the evidence supplied to it. Essentially, the Policy Manager takes this evidence and produces a set of permissions. As shown in Figure 4.3, it includes four policy levels:

  • Enterprise

  • Machine

  • User

  • Application Domain

Figure 4.3. Role of the Policy Manager under the CLR

Each level normally produces a permission set based on the evidence. These permission sets are then “intersected” to generate the permission set for the entire assembly. As a consequence, all levels must allow a permission before it can enter the assembly's granted permission set. For example, if the ...

Get Programming in the .NET Environment 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.