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.2.tar.gz
.
File metadata
- Download URL: django-ratelimit-backend-0.6.2.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d81dcd6a63b82528cdadb985f11687ffbea81775264bf9cad77f23e8b51d1399 |
|
MD5 | 997e6ceb4fc583c6acd492e850cef906 |
|
BLAKE2b-256 | 38acc7adb24683330cebdfc73a37dd6344a0e39be2ac66a2b0c9f08d10ff11f3 |
File details
Details for the file django_ratelimit_backend-0.6.2-py2.py3-none-any.whl
.
File metadata
- Download URL: django_ratelimit_backend-0.6.2-py2.py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 251c5ec79806e22d44ab3cd1e36d0b9d0f884768c4cb7391f162d718b6593e6c |
|
MD5 | 1eaefdae9b18f53085ec22451b7be6f2 |
|
BLAKE2b-256 | 0ea9fcccdfddd06205c7b3357a4c1f92f6ab4b89c0fd38a493b17bd7bb7a6f0f |