User-1620313041 posted
In addition to Perkinsville once you have chosen windows authentication, the best way to proceed is to make the asp.net impersonate the user not for all request
but just for executing the piece of code that access the file. This can be done creating an impersonation context:
using (WindowsImpersonationContext impersonatedUser = (User.Identity as System.Security.Principal.WindowsIdentity).Impersonate())
{
//Access your file and/or folders here
}