Don't ask to ask, just ask | |
PerlMonks |
CGI upload limitby Ryszard (Priest) |
on Sep 14, 2002 at 10:04 UTC ( [id://197837]=perlquestion: print w/replies, xml ) | Need Help?? |
Ryszard has asked for the wisdom of the Perl Monks concerning the following question:
I've got an application suite developed with CGI::Application and HTML::Template.
I've got a few applications that require the user to upload certain files, however I'd like have an upload limit per application. I know about the $CGI_POSTMAX variable, but this must be set before the CGI object is created, which is way before any of the applications make an appearance. My question: Do you think it would make better sence to instill an application wide upload limit, or is it better to create an upload limit per application? (and how is this done) My initial thoughts were to impose an upload limit per application, however thinking thru' it a little, given the purpose of this limit is to prevent a DoS, is there any reson to implement a limit per application?
Back to
Seekers of Perl Wisdom
|
|