Re: file upload = simple DoS possibility

2006-08-30 Thread Michael Samoylov
Adrian Holovaty wrote: > I'd recommend handling this at the Apache level. See the > LimitRequestBody directive: > > http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are sub

Re: file upload = simple DoS possibility

2006-08-29 Thread Adrian Holovaty
On 8/29/06, Michael Samoylov <[EMAIL PROTECTED]> wrote: > Is the any way to control upload process (max file size, etc.)? Great > framework but file upload can couse DoS. > [...] > User can try to upload any size file and waste all server's cpu and > memory and you can imagine situation with hundr

file upload = simple DoS possibility

2006-08-29 Thread Michael Samoylov
Hi all. Is the any way to control upload process (max file size, etc.)? Great framework but file upload can couse DoS. For example: class Account(models.Model): user = models.OneToOneField(User) birthday = models.DateField(blank=True, null=True) icq = models.IntegerField(blank=True,