Configuring Security

The security model in .NET development breaks down into two primary areas:

  • Code access security— This manages the security of the code itself, enabling the .NET Framework to verify permissions before allowing code to run or ensuring that all necessary permissions are availble to access required resources on the system before execution.

  • Role-based security— This manages the logon account's access rather than the application code itself, allowing control of application access based on user or group membership.

The .NET Framework also includes security features such as public-key and private-key encryption, but these are not ...

Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) 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.