Code access security is a concept of .NET Framework that
restricts the execution privileges of the code on the resources and its
operations. Usually administrators configure security policy of the code. This
is done by sets of permissions with groups of code called as Code Groups. In
the next section we will look into the code groups in detail. Using Code Access
Security, the code can request for permissions to execute. Once a code has
requested for permission, the permissions are granted to it based on its
assembly permissions security policy. We will also be covering the types of
policies in the next section.