Rack::Lockdown

Added by techiferous at November 15, 2009 06:05 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray
GitHub stats:
Magnifier watcher(s)
Arrow_branch fork(s)
Wrench

About

This middleware only allows GET and HEAD HTTP methods through. If for some reason you think your web application is currently being attacked, you can quickly switch on this middleware. If your application is RESTful, this will prevent users from creating, modifying, or deleting data through the web application. Viewing data would still be allowed.

Usage

use Rack::Lockdown

blog comments powered by Disqus