IIS: redirect to a webpage if authentication fails

Posted by DrStalker on Server Fault See other posts from Server Fault or by DrStalker
Published on 2010-05-06T05:49:13Z Indexed on 2010/05/06 5:58 UTC
Read the original article Hit count: 358

Filed under:
|
|

We have an IIS site (MOSS 2007) that uses Windows Authentication. When a user that has forgotten their password tries to login the servers keeps sending 401 requests. This means on IE the user gets three prompts before IE displays a blank page, on Firefox the user is prompted over and over until they give up.

We would like to change the behavior so if a user fails to login three times in a row we send them a redirect to a different site, instead of another 401

Forms authentication is not an option; the site has to remain on windows authentication to allow for SSO capabilities and certain sharepoint functions.

Is there any way to tweak the IIS behavior to do this?

© Server Fault or respective owner

Related posts about iis

Related posts about web