Re: Gzipped output

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

 



Stut wrote:

> Per Jessen wrote:
>> Eric Butera wrote:
>> 
>>> You should never use exec & friends when there is another way around
>>> the problem.  It is a security concern.
>> 
>> Why is it a security concern to execute another bit of code?
>> 
>> I really fail to see any security concern in doing e.g.
>> 
>> exec('gzip -c /tmp/myinputfile')
> 
> Do that per request and it becomes a lot easier to DOS the server. Not
> a 'security' risk so much as a stability risk, but a risk all the
> same.

Make any PHP-based script available without usage-restriction, and
you've got yourself a DDOS potential.  Using exec() doesn't change
anything.



/Per Jessen, Zürich

--
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