more useful options | |
PerlMonks |
Re: having horrors untainting a path string for moving a fileby virtualsue (Vicar) |
on Mar 14, 2006 at 18:39 UTC ( [id://536668]=note: print w/replies, xml ) | Need Help?? |
Insecure $ENV{PATH} while running with -T switch at move.cgi line 148
This error message is trying to tell you to tighten down the $PATH environment setting. What I do is set $ENV{PATH} to '' (clear it) and use a known _absolute_ path for every external program being executed. /bin/mv, /bin/rm, etc. Taint is trying to protect you from being easy prey for a trojan horse attack.
In Section
Seekers of Perl Wisdom
|
|