System.Security namespace in .NET Framework Class Library
The System.Security namespace provides the underlying structure of the Common Language Runtime security system, including base classes for permissions.
CodeAccessPermission class defines the underlying structure of all code access permissions.
SecurityContext class encapsulates and propagates all security-related data for execution contexts transferred across threads.