Results 1 to 6 of 6

Thread: Authentication Types in asp.net

  1. #1
    Join Date
    Jan 2009
    Posts
    74

    Authentication Types in asp.net

    Hello, I want to know the details about the Authentication Types in ASP.NET. If anyone is having details about it then provide me reply about it. It will be helpful to me. Thanks in Advance. I have searched on internet about it, but it is quiet complicated to get more details and understand about it. So, provide details in simple words.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Authentication Types in asp.net

    There are only three types of Authentication types are available in the ASP.NET. And they are as below mentioned:
    • Forms authentication
    • Windows authentication
    • Passport authentication

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: Authentication Types in asp.net

    As we all know if you want to provide some security then it is necessay to provide Authentication and Authorization both. If you are talking about the Authentication then it is the process of allow or disallow to the users and provide them functionality. By using the Authorization you can provide the ability to the users to take the access of the resources. is the process of allowing an authenticated user access to resources. In Asp.net you can provide set of the alternatives for providing authentication. Asp.net provides two separate authentication layers for authentication.

    Authentication Types:
    • Windows Authentication
    • Passport Authentication
    • Forms Authentication


    For using these authentication following Authentication modes are used:
    Code:
    <authentication mode="windows">
    authentication mode="passport">
    <authentication mode="forms">

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Authentication Types in asp.net

    Authentication Types in asp.net are as below:
    • Forms authentication
    • Windows authentication
    • Passport authentication

    As ASP.NET provides this three types of authentication it provides three different authentication mode to handle them.

    Forms Authentication:
    Forms authentication mode is based on cookies. In this mode username and password of the login and stores it in to the text file or in the database. This cookie provides the session details of the user.

    Windows Authentication:
    The default authentication mode in ASP.NET is Window Authentication. If you are using this authentication then user is authenticated on the Windows account. But this type of authentication is most of the time used in the intranet environment.

    Passport Authentication:
    It is the centralized authentication service which is used by the Microsoft's Passport Service for getting authenticate users. By the use of this user can make use of the single user name and password for getting access of different site at a single time.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Re: Authentication Types in asp.net

    If you want to use the Authentication types in your ASP.NET then you need to use the following code for each of it :

    • Forms Authentication

    Code:
    <configuration>
      <system.web>
        <authentication mode="Forms"/>
        <forms name="Check"loginUrl="Checking.aspx" />
        <authorization>
            <deny users="?"/>
        </authorization>
      </system.web>
    </configuration>
    • Windows Authentication

    Code:
    <authentication mode="Windows"/>
    <authorization>
    <allow users ="*" /> 
    </authorization>
    • Passport Authentication

    Code:
    <configuration> 
      <system.web>
        <authenticationmode="Passport">
          <passportredirectUrl="Checking.aspx" />
        </authentication>
        <authorization>
          <deny users="?" />
        </authorization>
      </system.web>
    </configuration>

  6. #6
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Authentication Types in asp.net

    asp.net provides following three types of Authentication:
    • Windows Authentication - By the sue of this you can make use of the local windows user and groups for web pages.
    • Passport Authentication - It is also termed as the single authentication point. You can get more details about it on the passport website.
    • Forms Authentication - It is based on the cookie. It can store your username and password for the session you are working.

Similar Threads

  1. Pre-Authentication Failure
    By samit in forum Active Directory
    Replies: 4
    Last Post: 06-01-2014, 11:05 AM
  2. LDAP authentication
    By ac1876 in forum Networking & Security
    Replies: 1
    Last Post: 08-10-2010, 04:05 AM
  3. SSH key authentication
    By Linux-Us in forum Networking & Security
    Replies: 5
    Last Post: 21-12-2009, 02:44 PM
  4. Different types Types CCFL's
    By Zipp in forum Overclocking & Computer Modification
    Replies: 3
    Last Post: 29-10-2009, 09:11 AM
  5. Kerberos authentication
    By Jorge Azcuy in forum Active Directory
    Replies: 8
    Last Post: 14-02-2007, 01:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,555,111.80186 seconds with 17 queries