Application Development Using Visual Basic® and .NET
by Robert J. Oberg, Peter Thorsteinson, Dana L. Wyatt
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access