Code Access Security is a security feature in .NET that you can use to impose certain restrictions on the code to be executed. The MSDN states: "Code access security (CAS) is the .NET Framework security mechanism (the "sandbox") that is used by ASP.NET to enforce constraints on the ability to execute code." Reference: http://msdn.microsoft.com/en-us/library/dd984947.aspx