Re: Passing windows credentials from server to server.

From: Andrea D'Onofrio [MSFT] (andreado_at_online.microsoft.com)
Date: 12/30/03


Date: Tue, 30 Dec 2003 17:26:39 +0100

Hi,
> I would be very interested to hear your explanation, and know how to do
> it -- especially if it's easily solved.
ServerA -> Basic Authentication
ServerB -> Windows Integrated
You must turn on impersonation in ServerA web.config:
<authentication mode="Windows" />

<identity impersonate="true"></identity>

If you have a code like Response.Redirect(http://serverB/default.aspx) in a
ServerA page, IIS (automatically) succesfully authenticate the user (the
user must be a valid user for both serverA and ServerB) and you don't need
to write any additional code.

You will find more details about the issue in these articles:
283201 HOWTO: Use Delegation in Windows 2000 with COM+
http://support.microsoft.com/?id=283201

287537 Using Basic Authentication to Generate Kerberos Tokens
http://support.microsoft.com/?id=287537

> FYI - below I did specify that Server B uses windows authentication.
>
FYI, extracted from your original post:
...access a page on Webserver B (which uses basic
authentication), but I don't want them to have to login again ...

> Thanks,
> Wade
HtH,
Andrea