Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$CGI::DISABLE_UPLOADS = 1; # Disable uploads $CGI::POST_MAX = $max_post; # Maximum number of bytes per post
Where is the best place to put these statements when using CGI::Application? Before you issue a my $cgi = $self->query(); statement? In the setup method? The top of the program under the "use" statements but before the subs are defined? Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI::Application and CGI security
by Arunbear (Prior) on Jun 30, 2004 at 15:32 UTC | |
|
Re: CGI::Application and CGI security
by derby (Abbot) on Jun 30, 2004 at 14:25 UTC | |
|
Re: CGI::Application and CGI security
by dragonchild (Archbishop) on Jun 30, 2004 at 14:51 UTC | |
by Anonymous Monk on Jun 30, 2004 at 15:24 UTC | |
by dragonchild (Archbishop) on Jun 30, 2004 at 15:55 UTC | |
|
Re: CGI::Application and CGI security
by Anonymous Monk on Jun 30, 2004 at 17:10 UTC | |
by derby (Abbot) on Jun 30, 2004 at 17:34 UTC |