Reputation: 4816
I am running an web application on IIS 6, Windows Server 2003 and it runs under local user IUSR_MachineName.
We have a shared folder, for example \\server\path
somewhere on our network and only one active directory user has read/write access to it. How can I read/write files from asp.net from/to this folder with this user's active directory credential?
I could change the user under which IIS runs, but I can't (read - not allowed). Now I am reading about impersonation, but any tips on this would be much appreciated...
Edit - I need those basic functionality on the shared folder:
Upvotes: 0
Views: 2077
Reputation: 4400
change the Application Pool Identity to the user who is allowed to access that folder.
Upvotes: 3