![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: Thoughts on file upload...by mikeirw (Pilgrim) |
on Nov 20, 2002 at 15:20 UTC ( #214478=note: print w/replies, xml ) | Need Help?? |
Not really security related per se, but I think that it's wise to set a maximum file size that you'll accept so that someone doesn't try to fill up your disk.
You can do this easily (if you're using CGI.pm) with something like:
You may also want to set a size limit on the directory that is holding the uploaded files. This could be done with something like:
In Section
Seekers of Perl Wisdom
|
|