Login rate-limiting at the auth backend level
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.
git clone https://email@example.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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|django_ratelimit_backend-1.1.1-py2.py3-none-any.whl (8.0 kB) Copy SHA256 Checksum SHA256||py2.py3||Wheel||Mar 30, 2017|
|django-ratelimit-backend-1.1.1.tar.gz (14.3 kB) Copy SHA256 Checksum SHA256||–||Source||Mar 30, 2017|