This is a Java servlet filter (as per Servlet API 2.3). ConcurrentFilter lets you set the maximum number of concurrent requests for a single IP address. You can use this filter as a limitation tool for access to your downloading store etc.
How to use it:
a) download concurrentflt.jar and save it in WEB-INF/lib
b) describe this filter in web.xml. Initial parameter
(parameter's name is limit) describes a maximal amount for the requests from the one IP address.
Default value is 2 (two simultaneous requests from the same IP address)
c) describe a mapping for this filter in web.xml
in this case filter will be on for the each your file
For downloading:
Filter: concurrentflt.jar
See also JSOS - the largest collection of servlets and filters.