Authentication Levels

How we can set Different levels of Authentication in .Net?
What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?

Questions by Sajeesh

Editorial / Best Answer

aanand_agrawal  

  • Member Since Apr-2009 | Apr 30th, 2009


Windows authentication enables you to identify users without creating a custom page. Credentials are stored in the Web server’s local user database or an Active Directory domain. Once identified, you can use the user’s credentials to gain access to resources that are protected by Windows authorization.

Forms authentication enables you to identify users with a custom database, such as an ASP.NET membership database. Alternatively, you can implement your own custom database. Once authenticated, you can reference the roles the user is in to restrict access to portions of your Web site.

Passport authentication relies on a centralized service provided by Microsoft. Passport authentication identifies a user with using his or her e-mail address and a password, and a single Passport account can be used with many different Web sites. Passport authentication is primarily used for public Web sites with thousands of users.

Anonymous authentication does not require the user to provide credentials.

Showing Answers 1 - 8 of 8 Answers

You can change/add authendication in web config file, in that you have to mention the authendication mode,
Windows Authendication: By default  authendication mode is windows authendication.
Form authendication: authendication provide by web site of of its own
Passport Authendication: A web site outsorced for authendication is called passport authendication.

Windows authentication enables you to identify users without creating a custom page. Credentials are stored in the Web server’s local user database or an Active Directory domain. Once identified, you can use the user’s credentials to gain access to resources that are protected by Windows authorization.

Forms authentication enables you to identify users with a custom database, such as an ASP.NET membership database. Alternatively, you can implement your own custom database. Once authenticated, you can reference the roles the user is in to restrict access to portions of your Web site.

Passport authentication relies on a centralized service provided by Microsoft. Passport authentication identifies a user with using his or her e-mail address and a password, and a single Passport account can be used with many different Web sites. Passport authentication is primarily used for public Web sites with thousands of users.

Anonymous authentication does not require the user to provide credentials.

atyant

  • Mar 26th, 2010
 

There are basically Four types of authentication:-

1. No Authentication: This means that one is not providing any kind of authentication to the form and everyone is authenticate to use the form.

2. Windows Authentication : This means that the authentication is done on windows level and user can use the windows credential to use the form.

3. Form Authentication : This means that user can customize there authentication technique and give there own database username and password for authentication of the form.

4. Passport Authentication: In this authentication user can use there passport username and password for authentication which is a microsoft service to create a new mail domain.

Windows:        User is authenticated by the windows server.

Form:               User is authenticated from the  Customized Authentication       technique                       from                                                Database.

Passport           User is authenticated by Microsoft Server. This technique is now outdated.

None.              This is anonymous Access for the resources.

  Was this answer useful?  Yes

Nirmal09

  • Jan 13th, 2011
 

Windows Authentication Windows Authentication is the default authentication mechanism for ASP.NET applications. Windows Authentication is implemented in ASP.NET using the Windows authentication module. Windows Authentication gets logged on user identity  by Microsoft Internet Information Services (IIS) as the authenticated user in an ASP.NET application. To implement windows authentication change the authentication mode in web.config file as

<system.web>
  <authentication mode="Windows"/>
</system.web>

Forms Authentication

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions