Re: Credentials across multiple web service boundaries
From: Derek Harmon (loresayer_at_msn.com)
Date: 09/04/04
- Next message: Rahul Parmar: "Request format is invalid: text/xml"
- Previous message: Paul Roberts: "Re: Process Running under Wrong Credentials"
- In reply to: Bil Simser [MVP]: "Credentials across multiple web service boundaries"
- Next in thread: Bil Simser [MVP]: "Re: Credentials across multiple web service boundaries"
- Reply: Bil Simser [MVP]: "Re: Credentials across multiple web service boundaries"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 4 Sep 2004 02:21:03 -0400
"Bil Simser [MVP]" <bsimser@shaw.ca> wrote in message news:ueEbU0gkEHA.896@TK2MSFTNGP12.phx.gbl...
> web service gets invoked fine with the users credentials. However they need
> to call a second web service from the first one. When it hits the second web
> service, the web service (even though configured correctly) always reports
> as IUSR (or sometime IWAM, or whatever the anonymous accounts are).
>
> Is there a problem trying to do something like this?
Yes. NTLM authentication can only authenticate the client of the
first web service.
See, when the first web service calls another web service residing
on another machine, it can't pass along the original client's credentials.
It must pass along it's own credentials. It's the host running the first
web service that is the client of the server running the second web
service, and not the original user who made the request.
Essentially, NTLM authentication is limited to one-hop; it authenticates
the immediate client only. The example you've given requires the user
to be authenticated over more than one-hop.
> Is there something anyone can point me at to try out or a workaround?
Kerberos delegation is frequently prescribed for these web solutions,
see the following Microsoft knowledge base article for more info,
http://support.microsoft.com/default.aspx?scid=kb;en-us;810572
There are alternative solutions that usually involve creating duplicate
or domain accounts and impersonating them going from hop-to-hop,
but these designs tend to be rigid and difficult to maintain.
Derek Harmon
- Next message: Rahul Parmar: "Request format is invalid: text/xml"
- Previous message: Paul Roberts: "Re: Process Running under Wrong Credentials"
- In reply to: Bil Simser [MVP]: "Credentials across multiple web service boundaries"
- Next in thread: Bil Simser [MVP]: "Re: Credentials across multiple web service boundaries"
- Reply: Bil Simser [MVP]: "Re: Credentials across multiple web service boundaries"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|