Ryszard has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI upload limit
by valdez (Monsignor) on Sep 14, 2002 at 11:19 UTC | |
by samtregar (Abbot) on Sep 15, 2002 at 07:28 UTC | |
|
Re: CGI upload limit
by hiseldl (Priest) on Sep 14, 2002 at 22:23 UTC | |
|
Re: CGI upload limit
by richardX (Pilgrim) on Sep 15, 2002 at 10:33 UTC |