IIS service is running as Local System account, so how do I give it shared directory permissions?
<p>My ASP page reads a file from a shared directory and sends it to the user.</p>

<pre><code>  Response.Clear();
  Response.ContentType = "application/octet-stream";
  Response.AddHeader("Content-Disposition:", string.Format("attachment; filename={0}", fileName));
  Response.WriteFile(filePath);
  Response.End();
</code></pre>

<p>This ASP code runs on the web server, I suppose it is running as Local System account because IIS is. filePath points to a file on the file server \\fileserver\shared\abc.pdf</p>

<p>When I debug the code on my local machine, the file is read correctly from ASP page. However when I run it on the web server, it can not read the file. What permission do I need to give \fileserver\shared so that the ASP page will correctly read the file? Obviously Local System is not a valid user logon in the permission page.</p>
