Chapter 16. Security

Security prevents a user or a piece of code from doing things it should not be allowed to do. Traditionally, security has focused on restricting operations based on the identity of the user or the group to which the user belongs. Naturally, this approach to security is supported by .NET, and it is known as user-based security (a closely related concept is known as role-based security, also discussed later in this chapter). .NET also allows you to place restrictions on what a piece of code is permitted to do according to security evidence associated with that code. This new approach to security is known as Code Access Security (also known as evidence-based security). For example, you can prevent certain code from accessing ...

Get Application Development Using Visual Basic® and .NET 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.