L
LinuxLivz
Hello All
Here is what I am attempting to do:
I have a NTLM protected site. There are some users who are not part of
the domain (visitors) get challenged with a Pop up dialog box
prompting for a user id, pwd and domain.
In oder to overcome this, I have setup a anonymous site (open to
alll). Users would first hit this site contains a page with an
instance of HttpWebRequest class. This class would make a call to the
protected site with the user's credentials on behalf of the user. If
the user has the correct credentials, then they would be passed to the
protected site else they would be redirected to a login page (NOT the
pop up dialog). In theory this appears to be a good idea to get rid of
the po up dialog.
However, I am unable to get the suers credentials on the anonymous
site and pass it to the HttpWebRequest. If I use DefaultCredentials,
then the site's user id and password are passed (IUSR_MACHINENAME). Is
it possible to obtain the user credential on the anonymous site or is
there another way to acoomplish this
Thanks
Here is what I am attempting to do:
I have a NTLM protected site. There are some users who are not part of
the domain (visitors) get challenged with a Pop up dialog box
prompting for a user id, pwd and domain.
In oder to overcome this, I have setup a anonymous site (open to
alll). Users would first hit this site contains a page with an
instance of HttpWebRequest class. This class would make a call to the
protected site with the user's credentials on behalf of the user. If
the user has the correct credentials, then they would be passed to the
protected site else they would be redirected to a login page (NOT the
pop up dialog). In theory this appears to be a good idea to get rid of
the po up dialog.
However, I am unable to get the suers credentials on the anonymous
site and pass it to the HttpWebRequest. If I use DefaultCredentials,
then the site's user id and password are passed (IUSR_MACHINENAME). Is
it possible to obtain the user credential on the anonymous site or is
there another way to acoomplish this
Thanks