To avoid re-developing the wheel. Are there any example Java EE servlet filters that take care of some basic security checks/ i.e.
- Block web requests for a time period if a rootkit hits the server, ie with a url that ends in .exe or contains "../../.."
- Throttle or block IP's that are making unexpectedly high number of requests.
I also wonder if something equivalent to a Thread.sleep(1000);
in the servlet filter for those particular types of requests wouldn't be such a bad thing.