![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Not Strictly A perl question.by Zaxo (Archbishop) |
on Jul 01, 2001 at 00:19 UTC ( #92952=note: print w/replies, xml ) | Need Help?? |
I'll fill out some of the bits jepri left out As it stands the code has a classic cgi security hole. It trusts user input for file system locations (e.g. ?image=/etc/passwd). Here is a safer rewrite:
This is a forgiving approach to bad input, more BOFHish to log and play games. After Compline,
In Section
Seekers of Perl Wisdom
|
|