ASP.NET access a folder as ASPNET even though impersonation is set
Posted
by Ron Harlev
on Stack Overflow
See other posts from Stack Overflow
or by Ron Harlev
Published on 2010-04-08T23:13:35Z
Indexed on
2010/04/08
23:23 UTC
Read the original article
Hit count: 385
ASP.NET
|impersonation
I have my ASP.NET web.config set with impersonation
<identity impersonate="true" userName="domainName\userName" password="userPassword" />
I'm running some a method like
IO.Directory.GetFiles(somePath)
And monitoring the file system access with Process Monitor
I keep getting all the access requests from the aspnet_wp.exe process to the folder, as the ASPNET
user.
Why am I not seeing the access as the impersonated user?
© Stack Overflow or respective owner