Using Python to run SSH commands on a remote server
jeffrey at fro.man
Mon Jun 23 22:23:12 CEST 2008
John Salerno wrote:
> I guess a blanket process might be a tad risky, but don't you want all CGI
> files to be executable by all?
Typically, I prefer CGI scripts to be executable only the owner. If the web
server runs those scripts as a different user, then that user must also be
permitted to execute the scripts of course.
Also note that "all .py files on my web server" is not necessarily
restricted to CGI scripts -- and therein lies the real gist of my
More information about the Python-list