laziness, impatience, and hubris | |
PerlMonks |
CGI, application context and securityby ady (Deacon) |
on Apr 07, 2007 at 18:13 UTC ( [id://608845]=perlquestion: print w/replies, xml ) | Need Help?? |
ady has asked for the wisdom of the Perl Monks concerning the following question:
Fellow monks, I'm new to Perl CGI, and in my first stab at an application i'm wrestning with the issue of how to call from the perl cgi program context out to processes and programs in the general OS environment. My CGI app is running in a Win2K and IIS setup on our intranet (thus relaxed security), and when I call for instance `ps.exe` to get a process list, i seemingly get a small list from the CGI application appartment only, and not the full list from the general OS-environment. I've scanned the docs for an explanation, but not found any, but maybe the distinguished Perl sangha can enlighten this poor monk... Best regards, Allan Dystrup update Example : this Perl program called using backticks from my cgi does nothing. When called from the commandline, it kills the cruisecontrol process (as requested)... Seems a security issue of a sort, but what ?
Back to
Seekers of Perl Wisdom
|
|