in reply to Re: Why do I need -w in a cgi script
in thread Why do I need -w in a cgi script
True, but then, as I said, we're still screwed since taint doesn't force you to get the cleaning right
Look, it's a moot point (who the hell turns off taint checking?), but a valid one. Turning off taint checking on a production script shouldn't make any difference
Consider - you develop a script, and when you test with taint on, the following generates a warning:
So you correct it:foreach(@ARGV){ `$_`; }
Is this going to be any less secure for running without taint once you've got it to run with taint?foreach(@ARGV){ /(\w*)/; $foo = `ls -l $1`; }
and is this going to be any less insecure for running with taint?foreach(@ARGV){ /(.*)/; $foo = `$1`; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Why do I need -w in a cgi script
by Abigail-II (Bishop) on Oct 10, 2003 at 13:48 UTC | |
by Melly (Chaplain) on Oct 10, 2003 at 14:27 UTC | |
by Abigail-II (Bishop) on Oct 10, 2003 at 14:47 UTC |