Skip to content

Commit

Permalink
Add rack attack gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlazio committed Sep 24, 2013
1 parent 0009016 commit 66c7eed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ gem "underscore-rails", "~> 1.4.4"
# Sanitize user input
gem "sanitize"

# Protect against bruteforcing
gem "rack-attack"

group :assets do
gem "sass-rails"
gem "coffee-rails"
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ GEM
rack (1.4.5)
rack-accept (0.4.5)
rack (>= 0.4)
rack-attack (2.2.1)
rack
rack-cache (1.2)
rack (>= 0.4)
rack-mini-profiler (0.1.26)
Expand Down Expand Up @@ -603,6 +605,7 @@ DEPENDENCIES
poltergeist (~> 1.4.1)
pry
quiet_assets (~> 1.0.1)
rack-attack
rack-mini-profiler
rails (= 3.2.13)
rails-dev-tweaks
Expand Down

0 comments on commit 66c7eed

Please sign in to comment.