[Lispweb] Re: Allegroserve/Webactions POST filesize limit?
John DeSoi
desoi at pgedit.com
Wed Jul 27 06:42:30 CDT 2005
On Jul 27, 2005, at 5:18 AM, Petter Gustad wrote:
> Are there any other ways to restrict the file size for uploaded files
> in Allegroserve? If not then somebody can really kill your server by
> uploading files which are way bigger than your physical memory.
I don't recall the exact design in AllegroServe, but what you want to
do read only the headers of the post request and look at the Content-
Length header. If it is too large or not provided, then kill the
request and send an error message.
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL
More information about the lispweb
mailing list