[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Upload size limit WOAdapter



Use the apache directive

LimitRequestBody n

Where n is the max size in bytes.  The error code is 413, so you can define
a custom error page if you like.  The request will never get to WO, so you
might need a "Use the back button" message, or else use a direct action url
on the error page.

On 7/29/02 12:36 PM, "Alex Johnson" <alex@xxxxxxxxx> wrote:

> Hi all,
> 
> Has anyone modified the WOAdapter to refuse requests over a certain
> size?  That is, an adapter that would accept requests up to X MB, but if
> the request was any bigger cut it off (without even telling the app
> about it) and send back a canned response saying "That file was too big."
> 
> This would not only be useful for limiting file uploads, but also for
> avoiding DOS attacks.  Am I right in thinking that WO apps are very
> vulnerable to a DOS attack by simply sending a few very large requests
> to the app.
> 
> Alex Johnson
>   -------------------------------
>   Site9 Internet Business Solutions :: Chicago, IL
>   alex@xxxxxxxxx
> 
>