HTTP 401 Challenge and HTTP 302 Login/Redirect won't work together in IIS7
Posted
by RandomBen
on Server Fault
See other posts from Server Fault
or by RandomBen
Published on 2010-05-04T21:07:37Z
Indexed on
2010/05/04
21:19 UTC
Read the original article
Hit count: 398
I am developing a website using .NET 3.5 that allow users to visit the site and create logins using the standard Microsoft login controls. However, users do not need to login to do general things like view products.
Now I need to setup the site so some of our Traveling Sales people are able to access it but not allow anyone else to access it. The easiest way I know how to do this is to turn on Windows Authentication for the Site in IIS7. When I do that I get all sorts of errors due to also having Forms Authentication turned on. If I turn Forms Auth then I get a different kind of error.
Does anyone know how to make Forms Auth and Windows Auth play nice on a single site in IIS7 or some other way to create a required login without having me kill Forms Auth?
© Server Fault or respective owner