ruby-rack-protection 2.0.5 Rack middleware that protects against typical web attacks

Rack middleware that can be used to protect against typical web attacks. It can protect all Rack apps, including Rails. For instance, it protects against cross site request forgery, cross site scripting, clickjacking, directory traversal, session hijacking and IP spoofing.