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

Uploaded Source

Built Distribution

django_ratelimit_backend-0.6.1-py2.py3-none-any.whl (11.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-ratelimit-backend-0.6.1.tar.gz
Algorithm Hash digest
SHA256 f6c5fbb512f64e5ecd9ce5d74c9580ef1c2b2ba892fd5e67e808aa8fc99342d4
MD5 7e66fbc488b22baa422054be74bb9880
BLAKE2b-256 c9f7644e7f9e0f23a44e4fed472024a49b84146f8d63cfed172934f6951c46d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_ratelimit_backend-0.6.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d4f5c489c34a15e76dc842e6836cf9579ded0587efcd57145eab73e18fb992ce
MD5 b54ab5e35fb2dbeeef5916b90d2ecc12
BLAKE2b-256 fe0a3c7baa1359a69d40623daa61da155cc9e6ef592651d86e3775e12a897d7b

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