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?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.