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.
- Authors: Bruno Renié and contributors
- Licence: BSD
- Compatibility: Django 1.4 and greater
- Documentation: http://django-ratelimit-backend.rtfd.org
- Code: https://github.com/brutasse/django-ratelimit-backend
- Simon Willison for his ratelimitcache idea
git clone https://firstname.lastname@example.org/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
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|django_ratelimit_backend-1.0-py2.py3-none-any.whl (11.9 kB) Copy SHA256 hash SHA256||Wheel||py2.py3||Jul 10, 2015|
|django-ratelimit-backend-1.0.tar.gz (15.0 kB) Copy SHA256 hash SHA256||Source||None||Jul 10, 2015|