Windows – Which user does PHP/IIS6 use to read/write files

iispermissionsPHPwindows

I've installed PHP5 (FastCGI) on IIS6 and is just wondering which windows user PHP uses to access the file system?

With ASP.NET for example, the ASPNET account is used to access the file system. But how about PHP?

I've read some post that suggest it uses the anonymous (i.e. IUSR) account. But isn't it a security breach if I give write access to the IUSR account?

Thanks!

Best Answer

Craig is right, the default for IIS6, will be running as the NETWORK SERVICE account; using PHPinfo in a test.php is a great way to diagnose this.

I blogged about the "identity" of code running in IIS here by OS

Hope that helps.

Dave