As with all things .NET, authentication and authorization have been thoroughly thought out and revisions have been made and objects created to deal with these issues within the .NET Framework. It all starts as most application configuration issues do, in the Web.Config file located in the root of your application.
Now I must start out by explaining that four different modes of authentication are available for use in the .NET Framework for ASP.NET pages.
Forms. Uses ASP.NET form-based authentication.
Windows. Uses the Windows authentication system on the web server.
Passport. Uses Microsoft’s Passport Authentication.
None. No authentication, because only anonymous users are expected or because programmers will handle ...