On Feb 11, 2008 11:58 AM, Per Jessen <[EMAIL PROTECTED]> 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')
>
>
>
> /Per Jessen, Zürich
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

In the real world would that be your exact usage?  Would the file to
be compressed be a variable by chance?

Reply via email to