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

Uploaded Source

Built Distribution

django_ratelimit_backend-1.2-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-ratelimit-backend-1.2.tar.gz
Algorithm Hash digest
SHA256 8114c0737b71bf5028181139d5c9ee2e45f453e3c46c8ae7cbcc6cdaf9f2b2c2
MD5 7b2aa05f67389ca6f5d5b7c8392ddbeb
BLAKE2b-256 ee1d83d1c50d6714ce6224678a488a627dfc1c89d6605b2cef2c7bcef15efb7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_ratelimit_backend-1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d06ec07e6f33b39dbef317140807d079a87b4e9ad0f2973be6b10e50a9ff3f42
MD5 404a3d517f1c840620b870a0c2c84b41
BLAKE2b-256 a1d34c847ca0c8dc3068a26326cadc41d56961793f4cbfc8f571a6dfad202837

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