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
File details
Details for the file django-ratelimit-backend-0.6.3.tar.gz
.
File metadata
- Download URL: django-ratelimit-backend-0.6.3.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e53beb95dba2a23dae1ab92ad10c5cfc8cbcde976a43be16922671ec05144fd2 |
|
MD5 | 968805349f7d6d430b9086a02b812d21 |
|
BLAKE2b-256 | 9090b0d636ad6cb9e334169900b250c7433b2d6d4466700d15143438a85561dc |
File details
Details for the file django_ratelimit_backend-0.6.3-py2.py3-none-any.whl
.
File metadata
- Download URL: django_ratelimit_backend-0.6.3-py2.py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c349b8628ea6fa605be00feb9313d09711e826e8ed1a875614c3dea493920091 |
|
MD5 | bb3ebcee9ca45729710b33562bf55a6b |
|
BLAKE2b-256 | d0d0a5d7aaf7600cc449fa8725da1a1199766a1a448ae6f870b3ff02579b9964 |