Login rate-limiting at the auth backend level
Project description
Django-ratelimit-backend
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
Credits
Simon Willison for his ratelimitcache idea
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-ratelimit-backend-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8906cae8d9e8ee0f2234031ced84b21118444852a3e18e67e3f03f047fc00309 |
|
MD5 | 224dcbb5efbd4b124bea7feef38d70a2 |
|
BLAKE2b-256 | 39bc926f712280b42e1c9e4606b1ea90a143d8d61bcbd974a10d3dac787ed453 |
Close
Hashes for django_ratelimit_backend-1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b0cb6b188b34db60244b9cea2bf3540b856ccba9cf5095da3af4f39485c31e6 |
|
MD5 | add3abc0a561d52c1c5ff473db264f23 |
|
BLAKE2b-256 | b7ff740b8ad4e69479226382ed11874c4323767e547c822e47e0835ec2a42fd3 |