Re: Pass through authentication
- From: "David Wang [Msft]" <someone@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 14 Jan 2006 00:26:11 -0800
Are you sure the password is sent as a header -- because I am not aware of
any popular web browser that allows this unless you are running custom
client-side code.
If you are using Basic Authentication protocol in IIS you can trivially use
the AUTH_USER and AUTH_PASSWORD server variables to get what you want in
ASP. This is all documented on MSDN.
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"RaziLevin" <RaziLevin@xxxxxxxxxxx> wrote in message
news:1137171747.260119.225850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> David,
>
> Thank you for the reply. I am using Basic Authentication protocol
> behind a corporate firewall. The browser sends the password as a header
> field. How can I access it? I have deployed third party software within
> IIS that does do this.
>
> Thanks
>
> David Wang [Msft] wrote:
>> Only insecure protocols like Basic authentication will give you that
>> behavior.
>>
>> Secure protocols never pass the user's password to the server, so you can
>> never "look it up" nor implicitly delegate from that server to another
>> server.
>>
>> I suggest you use secure protocols and mechanisms to delegate
>> credentials,
>> such as with Protocol Transitioning and Constrained Delegation in Windows
>> Server 2003. Everything else is pretty much insecure unless it does
>> something similar.
>>
>> --
>> //David
>> IIS
>> http://blogs.msdn.com/David.Wang
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> //
>>
>> "RaziLevin" <RaziLevin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:D6F36A1A-FBD6-42B9-BBF6-AA87DF43C771@xxxxxxxxxxxxxxxx
>> > Hello,
>> >
>> > I was wondering how I could implement pass through authentication. What
>> > I
>> > need is to be able to programmatically retrieve a users password so
>> > that I
>> > may pass that information along to another website.
>> > Request.ServerVariables("REMOTE_USER") will give me the username how
>> > can I
>> > get the password in ASP. If any more information is needed I will
>> > provide
>> > it.
>> >
>> > Razi
>> >
>
.
- Follow-Ups:
- Re: Pass through authentication
- From: RaziLevin
- Re: Pass through authentication
- From: RaziLevin
- Re: Pass through authentication
- References:
- Re: Pass through authentication
- From: David Wang [Msft]
- Re: Pass through authentication
- From: RaziLevin
- Re: Pass through authentication
- Prev by Date: Re: Pass through authentication
- Next by Date: Re: NTFS to secure directory in IIS6 not working as expected
- Previous by thread: Re: Pass through authentication
- Next by thread: Re: Pass through authentication
- Index(es):
Relevant Pages
|