title: IIS7 Accessing Network Share
body: <p>I am running IIS 7 on Windows Server 2008 R2 with PHP 5.4.  One of my PHP scripts is trying to access a file on a protected network share using a UNC path.  How can I change the IIS service account to an account that has permission to access the share?  This is really easy to do on Apache HTTP server (you just change it), but it's not clear how to do with IIS.  What can I do?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>I was able to get things working using the "Connect As" option in the "Basic Settings" of my website and then specifying an account that has access to the network share.  It <em>appears</em> that my problem is related to this question:</p>
  
  <p><a href="https://serverfault.com/questions/366234/iis-identities-application-pool-vs-connect-as-in-basic-settings">https://serverfault.com/questions/366234/iis-identities-application-pool-vs-connect-as-in-basic-settings</a></p>