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-1.1.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

django_ratelimit_backend-1.1-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-ratelimit-backend-1.1.tar.gz
Algorithm Hash digest
SHA256 4d383bc1d4d994377f7e308157a9dcf7bf52e84355aa095b18a1bd3aa7c07c6b
MD5 25e6642a9d6b273d8a1fbc6f41413ba0
BLAKE2b-256 424f889ed6f76c49d95f3e980dde1bb9507214e681a4d00de25f7dbffb021674

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_ratelimit_backend-1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bbac388840c8b9fe144f88751613796f6cd84a03fc75930200429eb710df5f59
MD5 4f54660ba0bc66b30be6bfab051a9d8e
BLAKE2b-256 b541f368faf938673a9617f4ea8ca0ddea339a436b8cfd3250d22d4c128b6d7e

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