Re: Gzipped output
| From: | Stut | Date: | Mon, 11 Feb 2008 17:21:57 +0000 |
| Subject: | Re: Gzipped output | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269107@lists.php.net to get a copy of this message | ||
Per Jessen wrote:
Eric Butera wrote: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. Personally I avoid firing up new processes from a web server - there are just too many things that can go wrong, but you're free to take whatever risks you want with your servers and clients. -StutYou 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')