brutasse / django-ratelimit-backend

Rate-limit your login attempts at the authentication backend level

Home Page:https://django-ratelimit-backend.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django-ratelimit-backend

Build Status

Rate-limit your login attempts at the authentication backend level. Login attempts are stored in the cache for 5 minutes and IPs with more than 30 failed login attempts in the last 5 minutes are blocked.

The numbers (30 attempts, 5 minutes) as well as the blocking strategy can be customized.

Credits

Hacking

git clone https://brutasse@github.com/brutasse/django-ratelimit-backend.git

Hack and run the tests:

python setup.py test

To run the tests for all supported Python and Django versions:

pip install tox
tox

About

Rate-limit your login attempts at the authentication backend level

https://django-ratelimit-backend.readthedocs.io

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 98.6%Language:HTML 1.4%