I don't believe that is possible. The NT Challange response box is actually quite special in the fact that it never pass's the users password
across the network. Basic authentication you could possibly reproduce this but I believe you would lose alot of built in functionality doing it.
This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. ? 2001-2002 Microsoft
Corporation. All rights reserved.
Subject: RE: Windows Auth and Redirect question
Date: Fri, 1 Feb 2002 14:20:03 -0800
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Xref: cpmsftngxa07 microsoft.public.dotnet.framework.aspnet:31755
NNTP-Posting-Host: TKMSFTNGXA01 10.201.232.160
I appreciate the reply, but a simple form auth is not what
I am looking for. I have read everything the SDK says
about Forms and Windows auth, as well as several WROX
I am actually trying to defeat the prompt that comes up
for windows security. Meaning the Auth mode is set to
windows, but someone comes in who does not have windows
credentials. What typically happens is that the Windows
2000/NT Username/password/domain dialog box comes up. I
don't want that. I want to redirect to a form instead.
Someone asked this question before, and a WROX author for
a few .Net books wrote this:
Within your web.config file set the authentication to
'windows' (which is the default in the machine.config
file)and set the redirect to the login pagename of your
choice. Present the user with this login page which upon
the click on the 'login button/image' performs in a sub
procedure (event handler) the code for the authentication.
I don't see how that could possibly work, because the
redirect subkey does not exist for Windows authentication
like it does for forms and passport.
If someone could explain to me how this should work, I
would be grateful.
>Take a look at this article
>This posting is provided "AS IS" with no warranties, and
confers no rights. You assume all risk for your use. ?
>Corporation. All rights reserved.
>Subject: Windows Auth and Redirect question
>Date: Fri, 1 Feb 2002 06:54:18 -0800
>X-Newsreader: Microsoft CDO for Windows 2000
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
>NNTP-Posting-Host: TKMSFTNGXA10 10.201.226.38
>Is it possible to use a form for Windows authentication,
>instead of having the standard Windows login screen come
>up? I seem to have read somewhere that this is possible,
>but can't figure it out myself.
>If so, how would one set that up in the Web.Config. If
><authentication mode="Windows" />, you can't have a
>redirectURL key, can you? How would you have it redirect
>to a form?