[tbnl-devel] Re: large file uploads
Luke J Crook
luke at balooga.com
Fri May 12 02:01:08 UTC 2006
Zach Beane wrote:
> On Wed, May 03, 2006 at 05:32:26PM +0200, Edi Weitz wrote:
> Yes, though not an intentional DoS. My application accepts image files
> and only processes files of a reasonable size. Allowing uploads of
> very large files only to reject them later in the process consumes
> CPU, bandwidth, and memory that could be used elsewhere.
Could you use Javascript on the client to check the file size before
allowing the upload?
Something like the following:
http://www.cs.tut.fi/~jkorpela/forms/file.html#restr
-Luke
More information about the Tbnl-devel
mailing list