You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Brooklyn Linux Solutions CEO <ru...@mrbrklyn.com> on 2001/07/06 08:41:30 UTC
Limiting Input size
Is there a way error out of an entry which might be too large in a
form or a get string with $r->content or $r->args
I want to prevent an attempt to overflow the memory by sending
an arguement with 10 billion bytes.
I can do it after. But without doing a read(), I'm wondering if
these shortcuts provide security protection in this regargd, or
if there is a better solution?
Ruben
Re: Limiting Input size
Posted by Matt Sergeant <ma...@sergeant.org>.
On 06 Jul 2001 02:41:30 -0400, Brooklyn Linux Solutions CEO wrote:
> Is there a way error out of an entry which might be too large in a
> form or a get string with $r->content or $r->args
>
>
> I want to prevent an attempt to overflow the memory by sending
> an arguement with 10 billion bytes.
>
> I can do it after. But without doing a read(), I'm wondering if
> these shortcuts provide security protection in this regargd, or
> if there is a better solution?
perldoc Apache::Request
Also see the Apache docs.
Matt.