Summary

In this chapter, you learned about ASP.NET Authentication. You learned how to set up the configuration file, web.config, to use one of three authentication schemes, Windows, Passport, and Cookie. Specifically you learned:

  • Types of authentication

  • Security configuration options

  • Working with Forms Authentication

  • Enabling Role-based authentication

You can use any of the authentication types to restrict access to resources in your Web application. Windows Authentication is ideal for intranets and extranets when all of the users have accounts in the Windows network. Passport Authentication is useful when you do not want to maintain your own user database, but it does require a fee for use and you must apply to Microsoft to be a Passport Web site. ...

Get Programming Data-Driven Web Applications with ASP.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.