Chapter 13Security and User Authentication

The issue of security is important in many facets of information technology, but it’s especially relevant in web development. While you’ll want to make sure that your web site users are able to go where they need to go and see what they’re allowed to see, you’ll also want to prevent unauthorized and malicious users from getting into your system.

One common approach is to require your site’s visitors to log in before they can view certain pages and to ensure that restricted pages cannot be accessed by simply typing in the correct URLs, unless the user has been specifically allowed to view those pages. Although different solutions exist for the various applications you may create—for instance, IIS could ...

Get Build Your Own ASP.NET 4 Web Site Using C# & VB, 4th Edition 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.