The System.Security namespace contains the fundamental building blocks of .NET's code-access security framework. The classes contained in the System.Security.Policy, System.Security.Permissions, and System.Security.Principal namespaces extend, build on, and use the classes contained in the System.Security namespace to implement the security framework. Figure 23-1 shows the types in this namespace.