Gatekeeper, a ban & rate limit lib for flask
Avoid bursting and brute forcing on your flask app, with RFC6585 compliance what & why Rate limiting is a powerful way to restrict the use of a given service by allowing a given rate of requests. Banning on the other hand can be used to block malicious attacks, mainly brute forcing on authentification routes. The Flask framework does not provide these functionnalities natively (which is normal, it’s a WSGI app constructor) but we can create a module to perform these features through flask’s primitives. ...