0% found this document useful (0 votes)
13 views1 page

Forms Vs Windows Authentication

Uploaded by

Sanika Deshmukh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Forms Vs Windows Authentication

Uploaded by

Sanika Deshmukh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Difference Between Forms and Windows Authentication in ASP.

NET

Feature Forms Authentication Windows Authentication

Definition Custom login using a web form Uses Windows credentials

User Input User enters credentials manually Automatic using Windows account

Login Page Custom login page required No login page needed

Authentication Source Custom DB or store Active Directory

Best For Internet/public web apps Intranet/internal apps

Web.config Setting <authentication mode='Forms' /> <authentication mode='Windows' />

IIS Configuration Enable Anonymous Authentication Enable Windows Authentication

Session Handling Uses authentication cookies Uses NTLM/Kerberos

User Access FormsAuthentication API User.Identity.Name

Security Depends on implementation Secure in internal networks

Customization Fully customizable Limited customization

You might also like