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

Uploaded Source

Built Distribution

django_ratelimit_backend-1.0-py2.py3-none-any.whl (11.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-ratelimit-backend-1.0.tar.gz
Algorithm Hash digest
SHA256 8906cae8d9e8ee0f2234031ced84b21118444852a3e18e67e3f03f047fc00309
MD5 224dcbb5efbd4b124bea7feef38d70a2
BLAKE2b-256 39bc926f712280b42e1c9e4606b1ea90a143d8d61bcbd974a10d3dac787ed453

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_ratelimit_backend-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b0cb6b188b34db60244b9cea2bf3540b856ccba9cf5095da3af4f39485c31e6
MD5 add3abc0a561d52c1c5ff473db264f23
BLAKE2b-256 b7ff740b8ad4e69479226382ed11874c4323767e547c822e47e0835ec2a42fd3

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