Article ID: 311481 - Last Review: December 3, 2007 - Revision: 3.4 PRB: IIS 6.0: CGI Code That Calls External Applications May FailThis article was previously published under Q311481 On This PageSYMPTOMS
When you use anonymous authentication and you call external programs (including PHP programs) from Common Gateway Interface (CGI) code, the operation may fail.
CAUSE
In Internet Information Services (IIS) 6.0, the IUSR_<computer_name> (anonymous) account does not have the necessary file system permissions to run executable programs in the %windir%\System32 folder by default. This denial can cause CGI code that attempts to run these external programs in the anonymous security context to fail.
RESOLUTIONTo resolve this problem, grant the IUSR_<computer_name> account (or the specific account that is being used as the anonymous identity) Read and Execute access to any program or command-line tool (such as Cmd.exe) that is necessary for the application to function correctly.
STATUS
This behavior is by design.
MORE INFORMATIONSteps to Reproduce Behavior
Note For this code to work, IUSR must have Read and Execute access to Ping.exe.
| Article Translations
|
Back to the top
