title: WCF File Permissions?
body: <p>I have a WCF web service that I am hosting in IIS (actually running within the Visual Studio web host i.e. Cassini).</p>
  
  <p>I have a file that I have to access in the root of the web directory from the service, and am having trouble figuring out the user identity that the service accesses the directory as.  I've given permission to ASPNET, NETWORK SERVICE, and IUSR, but none of these seem to work.</p>
  
  <p>Anyone know what the user is that a WCF service runs as when it's hosted within IIS?</p>
  
  <p>MORE INFO:</p>
  
  <p>Indeed, the WCF service is running as me (my windows account), but for whatever reason, it still cannot open a file in its root directory.  The file failed with "Access is Denied".  I've given "Everyone" Full Control of the folder, and it doesn't seem to matter.</p>