Commit 66c7eede authored by Marin Jankovski's avatar Marin Jankovski

Add rack attack gem.

parent 0009016b
...@@ -120,6 +120,9 @@ gem "underscore-rails", "~> 1.4.4" ...@@ -120,6 +120,9 @@ gem "underscore-rails", "~> 1.4.4"
# Sanitize user input # Sanitize user input
gem "sanitize" gem "sanitize"
# Protect against bruteforcing
gem "rack-attack"
group :assets do group :assets do
gem "sass-rails" gem "sass-rails"
gem "coffee-rails" gem "coffee-rails"
......
...@@ -334,6 +334,8 @@ GEM ...@@ -334,6 +334,8 @@ GEM
rack (1.4.5) rack (1.4.5)
rack-accept (0.4.5) rack-accept (0.4.5)
rack (>= 0.4) rack (>= 0.4)
rack-attack (2.2.1)
rack
rack-cache (1.2) rack-cache (1.2)
rack (>= 0.4) rack (>= 0.4)
rack-mini-profiler (0.1.26) rack-mini-profiler (0.1.26)
...@@ -603,6 +605,7 @@ DEPENDENCIES ...@@ -603,6 +605,7 @@ DEPENDENCIES
poltergeist (~> 1.4.1) poltergeist (~> 1.4.1)
pry pry
quiet_assets (~> 1.0.1) quiet_assets (~> 1.0.1)
rack-attack
rack-mini-profiler rack-mini-profiler
rails (= 3.2.13) rails (= 3.2.13)
rails-dev-tweaks rails-dev-tweaks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment