This is a discussion on How many types of authentication modes are there and what are the Types.... within the ASP and ASP.NET Programming forums, part of the Web Development category; How many types of authentication modes are there and what are the Types of available authentication modes in dot net ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| ASP.NET implements additional authentication schemes using authentication providers, which are separate from and apply only after the IIS authentication schemes. ASP.NET supports the following authentication providers: • Windows (default) • Forms • Passport • None To enable an authentication provider for an ASP.NET application, use the authentication element in either machine.config or Web.config as follows: <system.web> <!-- mode=[Windows|Forms|Passport|None] --> <authentication mode="Windows" /> </system.web> Each ASP.NET authentication provider supports an OnAuthenticate event that occurs during the authentication process, which you can use to implement a custom authorization scheme. The primary purpose of this event is to attach a custom object that implements the IPrincipal Interface to the context. Which ASP.NET authentication provider you use typically depends upon which IIS authentication scheme you choose. If you are using any of the IIS authentication schemes other than Anonymous, you will likely use the Windows authentication provider. Otherwise, you will use Forms, Passport, or None. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Types of RAM | srikumar_l | Computer Hardware | 3 | 01-16-2008 04:26 AM |
| Types of Indexing | vijayanand | Database Support | 1 | 09-21-2007 10:19 PM |
| What are the authentication modes in SQL Server? How can it be changed? | KiruthikaSambandam | Database Support | 2 | 08-08-2007 07:57 AM |
| What are the different types of polymorphism? | Sabari | C and C++ Programming | 1 | 07-24-2007 05:04 AM |
| Firewall Types | ragavraj | Server Management | 0 | 07-17-2007 09:55 AM |