top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is authentication tag/section in web.config?

+1 vote
287 views
What is authentication tag/section in web.config?
posted Dec 3, 2014 by Vinitha

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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:
Code:

<system.web>
   <!-- mode=[Windows|Forms|Passport|None] -->
   <authentication mode="Windows" />

</system.web>
answer Dec 3, 2014 by Manikandan J
...