O'Reilly logo

C# for Java Developers by Adam Freeman, Allen Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required