RE: Restrict uploaded scripts

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

 



> 
> Wouldn't it even be posible, if the script couldn't be run 
> directly, but
> had to be run through require or something like that?
> 

Require just includes the code inline.  It still runs on the webserver as
the server user as if it were one big script.  I think you would have to
sanitize the uploaded code before allowing it to run.  Writing the
sanitation algorithm to perform such a task would be a nightmare.

JM

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux