Language

How to let users to log in to your site (and optionally be assigned to roles) using either a login form or Windows authentication.

  1. ASP.NET Identity

    The ASP.NET Identity system is designed to replace the previous ASP.NET Membership and Simple Membership systems. It includes profile support, OAuth integration, works with OWIN, and is included with the ASP.NET templates shipped with Visual Studio 2013.

  2. Authentication and Authorization

    This article provides an overview of ASP.NET authentication and authorization and shows how to implement both features.

  3. Create a secure ASP.NET Web Forms app with user registration, email confirmation and password reset

    By Erik Reitan|

    Shows you how to build an ASP.NET Web Forms app with user registration, email confirmation and password reset using the ASP.NET Identity membership system.

  4. Create an ASP.NET Web Forms app with SMS Two-Factor Authentication

    By Erik Reitan|

    Shows you how to build an ASP.NET Web Forms app with Two-Factor Authentication using SMS.

  5. 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.

  6. 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.

  7. ASP.NET Authorization

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

  8. Implementing a Role Provider

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

  9. 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

  10. OWIN and Katana

    Katana is a flexible set of components for building and hosting Open Web Interface for .NET (OWIN)-based web applications. The Katana/OWIN documentation includes tutorials that show how to handle authentication and authorization scenarios.

Essential Videos

Pluralsight

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:

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

Pro ASP.NET 4 in C# 2010

Pro ASP.NET 4 in C# 2010

by Matthew MacDonald