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

Uploaded Source

Built Distribution

django_ratelimit_backend-0.6.4-py2.py3-none-any.whl (11.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-ratelimit-backend-0.6.4.tar.gz
Algorithm Hash digest
SHA256 f812932a7e596e132373f36eca52cfe318c7d6050b5a703dbcff6ac699e65701
MD5 0650451a20da55119b1b7b442dcd0ab8
BLAKE2b-256 b120305c0867afc22ce48e81e4356cab85c19a722dd56a5b45df15a3994fe54c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_ratelimit_backend-0.6.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 57fb09b52d50951ee7d7ed8722e8b7c03b7f1fc0055216827026d1a52605c5ea
MD5 ca1dedb0c85d8a9d8c4be44665f109f5
BLAKE2b-256 680fe60d4a4fe1cc9e0028c17a321304230461d77f6a4d77acbfad9231d0047b

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