>From a security point of view, that is /not/ recommended to do - then you
have no controll about who is executing or when execution is done.

A more controlled way to grant execute access to cmd.exe is to let IIS
execute the script as a certain user, and then let that user have the right
to execute whatever command is needed.

When it comes to security, allways think in terms
of restricting access on "need to know" basis.

-----Original Message-----
From: christian astrup bakke // chasm(.nu)
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: 14-5-2004 12:02
Subject: RE: [PHP-WIN] Ping from  PHP with   shell_exec  comando in  IIS 5
and windows XP


this is probably a shot in the dark, but i've been able to use ping,
nslookup etc. through php by changing/giving the right permissions on
the file cmd.exe ... on iis 6.0 (windows 2003 server). give the
iusr_<machine> (or something similar) the appropriate/suitable permissions.

my best guess at this stage. :)

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

Reply via email to