Older Versions - Security

Security, authentication, and authorization topics for ASP.NET 4 and earlier Web Forms applications.

  1. ASP.NET 4 Windows Authentication Provider

    This article provides an overview of the Windows authentication provider, which is useful for security in company networks and other intranet scenarios.

  2. ASP.NET 4 - Forms Authentication Overview

    This article describes ASP.NET forms authentication, which lets you create your own login page and then use ASP.NET features to manage authentication and authorization.

  3. ASP.NET 4 - Authorization

    This article describes two ways to let users have access to resources in your application -- that is, how to handle authorization.

  4. ASP.NET 4 - Implementing a Role Provider

    This article and sample describes how to create a provider to handle custom role management.

  5. Security Extensibility in ASP.NET 4

    This whitepaper covers the major ways in which security features in ASP.NET 4 can be customized, including: Encryption options and functionality in the <machineKey> element, interoperability of ASP.NET 4 forms authentication tickets with ASP.NET 2.0, configuration options to relax automatic security checks on inbound URLs, pluggable request validation, and pluggable encoding for HTML elements, HTML attributes, HTTP headers, and URLs

  6. ASP.NET 3.5 - Introduction to Security (6 Tutorials)

    This series of tutorials explores techniques for authenticating users using a login form (forms authentication) and authorizing access to individual pages in an ASP.NET application.

  7. ASP.NET 3.5 - Membership (10 Tutorials)

    This tutorial series examines techniques for using the built-in membership (security) system to create user accounts and configure authorization rules.

  8. ASP.NET 3.5 - Roles (6 Tutorials)

    This tutorial series describes how to create and delete roles, how to assign users to roles, and how to authorize by role.

  9. ASP.NET 3.5 - Security Administration (6 Tutorials)

    This tutorial series shows you one way to create an administration page that lets you manage users and roles.

Essential Videos


Microsoft has made it possible for you to enjoy this Pluralsight training free of charge. In addition, you can watch more videos free of charge from Microsoft.

1. Visual Studio Features

52 mins

2. Working with Data

43 mins

3. Framework Features

78 mins

4. HTML5 Features

44 mins

5. oAuth and Security Features

51 mins

Sponsored By: Pluralsight

Unlock access to 3,000+ dev, IT and creative courses that you can watch anytime, anywhere.

Starting at $29/mo.

free trial subscribe now

ASP.NET Web Forms Books

Microsoft's Jon Galloway recommends these books for learning ASP.NET Web Forms:

Pro ASP.NET 4 in C# 2010

Pro ASP.NET 4 in C# 2010

by Matthew MacDonald

Beginning ASP.NET 4.5: in C# and VB

Beginning ASP.NET 4.5: in C# and VB

by Imar Spaanjaars

Professional ASP.NET 4.5 in C# and VB

Professional ASP.NET 4.5 in C# and VB

by Jason N. Gaylord, Christian Wenz, Pranav Rastogi, Todd Miranda, Scott Hanselman