ASP.NET Impersonation fails on IIS

S

serre

Hi,

I built an ASP.NET Web application with impersonation. This works
fine, my login is recognized. Now I want to get access to a certain
folder on an UNC file share. I have the rights with my login, but when
I test my application on the web server I get an error message that
the access is denied.

Please help, thanks
 
J

Joe Kaplan \(MVP - ADSI\)

If you are using Windows Integrated Authentication in IIS, then this is
likely failing because your account cannot be delegated to a different
server. This is called a double hop issue. Do a search for double hop and
Kerberos Delegation to find out what you need to do to get this working.

Joe K.
 
P

Paul Clement

On 7 Feb 2005 07:04:08 -0800, (e-mail address removed) (serre) wrote:

¤ Hi,
¤
¤ I built an ASP.NET Web application with impersonation. This works
¤ fine, my login is recognized. Now I want to get access to a certain
¤ folder on an UNC file share. I have the rights with my login, but when
¤ I test my application on the web server I get an error message that
¤ the access is denied.

The other way around this, if you need to delegate credentials, is to use Basic authentication. This
would be fine if your app is confined to an Intranet. Otherwise, with NTLM (Integrated Windows
Authentication) you need to implement Kerberos, as Joe mentioned.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top