Is it possible to suppress the IE standard login dialog when Windows Authentication is enabled?
Posted
by Rocko
on Stack Overflow
See other posts from Stack Overflow
or by Rocko
Published on 2010-04-21T17:00:23Z
Indexed on
2010/04/21
17:03 UTC
Read the original article
Hit count: 225
web.config
Hello,
i have a web application with Windows Authentication enabled. In my web.config I restrict the access with the following code:
<authorization>
<allow users="rba\eigg"/>
<deny users="*"/>
</authorization>
When I call the application in a browser, the IE's standard login dialog pops up and if I close it by cancel I get the HTTP 401 (Access is denied) error page.
Is there a way to suppress the login dialog so that the user gets the 401 error page directly?
Thanks! Rocko
© Stack Overflow or respective owner