Lock down a site using Forms Auth in IIS7 with Windows Auth
Posted
by justjoshingyou
on Server Fault
See other posts from Server Fault
or by justjoshingyou
Published on 2009-11-02T16:17:45Z
Indexed on
2010/04/27
23:03 UTC
Read the original article
Hit count: 486
I have an ASP.NET MVC 1.0 application that uses Forms Authentication. We are using Windows Server 2008. I need to lock down the site so that only certain users (in AD Groups) can access the site. Unfortunately, though, when I set the site to not allow anon users and use windows authentication, due to the integration of the site and IIS, it shows the user as signed in as their domain account, instead of allowing them to sign in through Forms Auth.
So, I need a mixed mode authentication. I need the site to be only accessible through windows auth, without anon users, but once you are in, it needs to use forms auth only. How would I go about doing this the right way?
© Server Fault or respective owner