Description
This gem protects against typical web attacks. Should work for all Rack apps, including Rails.
Rack::Protection alternatives and similar gems
Based on the "Security" category.
Alternatively, view Rack::Protection alternatives based on common mentions on social networks and blogs.
-
Brakeman
A static analysis security vulnerability scanner for Ruby on Rails applications -
SecureHeaders
Manages application of security headers with many safe defaults -
RbNaCl
Ruby FFI binding to the Networking and Cryptography (NaCl) library (a.k.a. libsodium) -
Hashids
A small Ruby gem to generate YouTube-like hashes from one or many numbers. Use hashids when you do not want to expose your database ids to the user. -
Rack::UTF8Sanitizer
Rack::UTF8Sanitizer is a Rack middleware which cleans up invalid UTF8 characters in request URI and headers. -
TSS - Threshold Secret Sharing
A Ruby implementation of Threshold Secret Sharing (Shamir) as defined in IETF Internet-Draft draft-mcgrew-tss-03.txt -
Active Entry
A flexible access control system for your Rails app -
Rack::JsonWebTokenAuth
Rack middleware for authentication using JSON Web Tokens (JWT) -
sessionKeys
A tool for the deterministic generation of unique user IDs, and NaCl cryptographic keys from a single username and high entropy passphrase. -
Rack::ContentSecurityPolicy
Rack middleware for declaratively setting the HTTP ContentSecurityPolicy (W3C CSP Level 2/3) security header to help prevent against XSS and other browser based attacks.
Automate your Pull Request with Mergify
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Rack::Protection or a related project?
README
NOTE: This project has been merged upstream to sinatra/sinatra
The tree will be merged upstream, including commit history.
For specific file history, please refer to the pre-merge branch here.
To use this gem from the upstream repository, you can add the following to your Gemfile
:
github 'sinatra/sinatra' do
gem 'rack-protection'
end