Rack::Lockdown
Added by techiferous
at November 15, 2009 06:05
GitHub stats:
watcher(s)
fork(s)
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
