Code access security consists of the following elements:
Ã‚Â· Permissions - represent access to a protected resource or the ability to perform a protected operation.
Ã‚Â· Permission sets - A permission set is a collection of permissions.
Ã‚Â· Code groups - logical grouping of code that has a specified condition for membership
Ã‚Â· Policy - Security policy is the configurable set of rules that the CLR follows when determining the permissions to grant to code. There are four policy levels - Enterprise, Machine, User and Application Domain, each operating independently from each other.