System.Security

Code that runs in modern operating systems comes from many different sources. Some assemblies might be installed from a shrink-wrapped CD-ROM, others downloaded from local intranets or the global Internet, still others may come in the form of e-mail documents. Many runtime systems prior to the .NET Framework ran all code on an all-or-nothing privilege level, allowing an administrator no choices except to let installed code do anything it wanted or not to install it at all. However, it is essentially impossible for a human user to correctly determine in every case which pieces of code are worthy of this high level of trust and which are not. The .NET Framework therefore provides the Code Access Security mechanism, which allows ...

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library 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.