Home All Groups Group Topic Archive Search About

Passing credentials from IIS to another resource

Author
5 Apr 2005 3:03 AM
TPowell_3557
My VB.Net page (running on IIS) needs to access the file system on another
Windows server in the AD.  Me.User shows my userID and that I am
authenticated but when I call a directory on the file server the log shows an
attempt at anonymous login and the error message is "Access to path ... is
denied".

While logged into the IIS box as DomainName\Me if I put in the path to the
file server I go there with no problem.  But it won't go from IIS.

Any help would be appreciated.

Author
5 Apr 2005 4:19 AM
Ken Schaefer
You are running into a double-hop authentication issue.

You need to create an authentication token that is valid for the remote
machine. This is not an IIS issue - this is something you are most likely
going to need to address in ASP.NET (unless you want to start using Basic
Authentication rather than whatever you're using ATM). I would try asking
this in microsoft.public.dotnet.framework.aspnet.security (or similar group)

Cheers
Ken

Show quoteHide quote
"TPowell_3557" <TPowell_3***@discussions.microsoft.com> wrote in message
news:52C81E30-08ED-46A4-A17D-18B253ECD20F@microsoft.com...
: My VB.Net page (running on IIS) needs to access the file system on another
: Windows server in the AD.  Me.User shows my userID and that I am
: authenticated but when I call a directory on the file server the log shows
an
: attempt at anonymous login and the error message is "Access to path ... is
: denied".
:
: While logged into the IIS box as DomainName\Me if I put in the path to the
: file server I go there with no problem.  But it won't go from IIS.
:
: Any help would be appreciated.