Chapter 17. Security and Cryptography

This chapter details the support for security and cryptography in the Microsoft .NET platform. The support for cryptographic operations and role-based security should be easily understood by experienced Java developers, but the .NET Code Access Security (CAS) model has no direct parallel in Java. Although some of the concepts may seem awkward, the system does offer significant benefits, especially for those programmers who write code to be used by third parties.

Code Access Security

The .NET Framework CAS model is similar to an expanded implementation of the Java security manager. CAS controls access to protected resources (such as the file system) and can be used to prevent applications from performing certain ...

Get C# for Java Developers 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.