Chapter 38. Securing Code

In This Chapter

  • Code-Based Security

  • Role-Based Security

  • Security Utilities

The .NET security model introduces a significant security enhancement, referred to as code-based security. The need for code-based security has grown out of recent years' experience in which foreign code is accessible and downloadable to computers from diverse sources throughout the Internet. Code-based security makes a system more secure by limiting the ability of code to perform specified actions.

Traditional role-based security is also a major component of the .NET security model. Role-based security controls the capability of agents or individuals to perform actions on a computing system. The security types are managed by specific policies, ...

Get C# Unleashed 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.