Help with windows 2003 iis6, exec() and permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

There is so much info on google/pnp.net etc on this but all of them seem to
work some of the time and the rest of them seem to work the rest of the
time;).

I just can't seem to find what is the most secure and correct/guaranteed way
of setting this up.

A windows 2003 server, running IIS6, and PHP 4.3.11, soon to move to php
5.0.4.
What is the correct way to setup php/iis to allow php access to run exec()
(ping.exe,cat.exe (from gnu utilities for win32), and any other command
shell stuff.) etc.
Also what is the correct way to setup folder permissions on Windows 2003 to
allow php to write a file. Is it possible to set permissions on the folder
and not the file (in case it has the file is deleted and uploaded again
etc).

I've googled and found 1000's, 10's of 1000's of options but after working
through the first half dozen and not having any luck (or most of the saying
that you open your system up to a HUGE security hole if you give IUSER_XXX
write access to cmd.exe, I'm just after the "correct"/recommended" way to do
the above.

Cheers
Adam


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux