Skip to main content

Login rate-limiting at the auth backend level

Project description

Django-ratelimit-backend

Build Status

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.

Credits

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-ratelimit-backend-0.6.2.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

django_ratelimit_backend-0.6.2-py2.py3-none-any.whl (11.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-ratelimit-backend-0.6.2.tar.gz.

File metadata

File hashes

Hashes for django-ratelimit-backend-0.6.2.tar.gz
Algorithm Hash digest
SHA256 d81dcd6a63b82528cdadb985f11687ffbea81775264bf9cad77f23e8b51d1399
MD5 997e6ceb4fc583c6acd492e850cef906
BLAKE2b-256 38acc7adb24683330cebdfc73a37dd6344a0e39be2ac66a2b0c9f08d10ff11f3

See more details on using hashes here.

File details

Details for the file django_ratelimit_backend-0.6.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_ratelimit_backend-0.6.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 251c5ec79806e22d44ab3cd1e36d0b9d0f884768c4cb7391f162d718b6593e6c
MD5 1eaefdae9b18f53085ec22451b7be6f2
BLAKE2b-256 0ea9fcccdfddd06205c7b3357a4c1f92f6ab4b89c0fd38a493b17bd7bb7a6f0f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page