On May 24, 5:23 pm, laspal <amit.las...@gmail.com> wrote:
> Hi,
> How can I restrict the number of file upload sessions. Say suppose I
> want only 100 user at any instant of time and I
> also there is no  problem of Denial of Service attacks.

You may want to look at it in terms of bandwidth used. See:

  http://www.cohprog.com/mod_bandwidth.html
  http://bwmod.sourceforge.net/
  http://codee.pl/cband.html

That way you can have the web server worry about it and not trouble
your application.

Similar modules may exist for lighttpd and nginx.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to