Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am quite confused with IIS Authentication and ASPNET Authentication.

It makes sense and i do understand that a website builded for internet users can have Anonymous Access cheked in IIS security and to have Authentication mode set to "Forms" in web.config.

It also makes sense to have IIS Authentication set to "Integrated windows authentication" and Authentication mode set to "windows" in web.config for Intranet users.

Above points makes sense to me because as per my understanding..when user makes an http request, first IIS authenticate the user and than request is handed over to ASPNET Engine for its own authentication and authorization. I believe that this second authentication is what being controlled by Authentication mode attribute in web.config..m I right?

Please correct me if i am wrong in my above understanding.

Also, does it makes any sense to have IIS authentication set to Anonymous and Authentication mode set to "windows" in web.config???

Thanks!!
Rahul
Posted
Comments
sriman.ch 8-Dec-11 22:54pm    
There are some very good articles about authentication and authorisation in msdn, codeproject, csharpcorner, asp.net...go through them you will get clarified....

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900