Code Access Security

One of the challenges of the modern software world of third-party components and downloadable mobile code is that you open your system to damage from executing code from unknown sources. For example, you may want to restrict macros from accessing anything other than the document that contains them, or you may want to defend against potentially malicious scripts. You may even want to shield your system from bugs in software from known reputable vendors. You typically do not want to completely disable all this potentially useful functionality, but rather, you want to control what that functionality may attempt to do. To handle these situations, .NET security supports Code Access Security (CAS).

Code Access Security can be applied ...

Get Application Development Using Visual Basic® and .NET 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.