Add DDoS protection (#308)

* Add and configure rack-attack gem
* Limit number of tenant registrations with same email address
* Limit requests to tenants#create by IP
This commit is contained in:
Riccardo Graziosi
2024-03-14 22:43:37 +01:00
committed by GitHub
parent e34e3f1aba
commit 336adb9bfd
4 changed files with 83 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ gem 'react-rails', '2.6.2'
# Pagination
gem 'kaminari', '1.2.2'
# DDoS protection
gem 'rack-attack', '6.7.0'
group :development, :test do
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]