Authentication mode available in ASP.NET

What is the authentication mode available in ASP.NET?

ASP.NET supports three authentication modes through the System.Web.Security namespace.

Windows Authentication
The windows authentication authenticates users based on their windows accounts. In short, it uses windows network security. It uses IIS to perform authentication.

Passport authentication
The Passport authentication uses Microsoft's passport service to authenticate users. The new user is directed to the Microsoft site where he can register his identity. This facilitates user to access multiple sites using single user name and password. You need to install the Passport SDK to enable the Passport classes in the System.Web.Security namespace.

Form authentication
The Form authentication collects user's credential and lets the application use own logic to authenticate users. The collected user's credential is validated using the list maintained by the application. The application maintains its own user list either using <credential> element in the web.config file or using database. The advantage of using form authentication is that the users don't need to be the member of windows network to have access to the application.
Authentication mode in the ASP.NET application
ASP.NET - How do you set authentication mode in the ASP.NET application? - You can set authentication mode using web.config file....
ASP.NET windows authentication and form authentication
ASP.NET windows authentication and form authentication - Windows authentication uses windows account whereas form authentication maintains its own user list..
How do you impersonate the authenticated user in ASP.NET?
Impersonate the authenticated user in ASP.NET - Impersonation means delegating one user identity to another user...
Post your comment