Chapter 34. Code Access Security

IN BRIEF

Code access security (CAS) is one of those necessary technologies that is always there, but never noticed. We write code, compile it, run it, and know that the code works. If the code works properly, we don't often stop and think about the fact that code access security is being used in the background to ensure that managed code is never allowed to do more than it is allowed to do within the current enterprise, network, or computer.

Code access security defines a set of permissions that can be associated with managed code, as well as various ways of creating and querying those associations. It is the plumbing that prevents code downloaded from the Internet from making network requests to any location ...

Get Microsoft® Visual C#® .NET 2003 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.