See ASP.NET Code Access Security for detailed information about the permissions that are granted to each trust level.
The members of this enumeration define application security levels ranging from full trust (the application is unconstrained by code access security) to minimal trust (the application has permission only to execute). You set the trust level for an ASP.NET resource with the trust configuration element in a Web.config or Machine.config file.
If you want to lock security policy for a specific server or Web site, use the location element in conjunction with the allowOverride=false attribute to ensure that trust policy settings cannot be overridden locally.