Weird impersonation issue



Just recently, we started getting a weird impersonation problem on one
of our web apps (which used to work).

IIS is set to use Windows Authentication, Anonymous is disabled
Web.config specifies to use Windows Authentication, Impersonate = true
Web server is trusted for delegation.

The app goes out to a file server (on the local network) to retrieve an
image file.

Here is where it gets weird - If I run the app from my machine, the
authentication and impersonation work and I can get the file to
manipulate it. If I go to the Security Log on the file server, I can
see my User Name and the Success Audit.

However, if I go to any other computer, still using the same domain
account, the Impersonation does not seem to make it all the way to the
file server. I use
System.Security.Principal.WindowsIdentity.GetCurrent().Name to get the
user that the process is running under and it returns my user name,
however, on the file server, there is a failure audit from
WEBSERVER\Anonymous Logon.

I have had another person test it, and they get the same results - it
does not work from their machine, but if they log on to my computer, it
works fine.

Anyone have any idea what is going on here? Why is this only working
from my computer? I thought I looked at all the relevant settings in
IE, etc, but can't find any differences. Any ideas?

.



Relevant Pages

  • accessing folder on remote server from asp.net page (impersonation question)
    ... I have a .NET 2.0 web app that needs to access the file server. ... However, when running on the dev web server, setting Identity ... impersonation programatically results in the same. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Impersonation not working with WebClient...
    ... I got almost same situation: my asp.net app uses <identity ... download manager I ... when I deployed this to a test server and ran it from ... > Then I thought maybe the impersonation wasn't working, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: FileSystemWatcher invalid directory name
    ... we use FileSystemWatcher in an asp.net app using impersonation. ... It works fine when the unc is correct and setup. ... Developers for exciting positions in medical product ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Window Media Player - Impersonation Issue
    ... (without impersonation, the framework returns that the file does not ... Using a simple test app with a Windows Media Player control thrown on ...
    (microsoft.public.dotnet.general)
  • ASP.Net Impersonation
    ... I am trying to understand Impersonation in the ASP.Net context. ... -Using Windows Authentication with impersonation="true" means that the ... -I can set NTFS permissions on a file/folder and control access w/o using ... permissions, but instead it is the aspnet_wp account that accesses the file ...
    (microsoft.public.dotnet.framework.aspnet.security)