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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-ratelimit-backend-0.2.tar.gz
Algorithm Hash digest
SHA256 b3265eb6e153d2730df79ef242076f6cd87e8d0915a531ddcbf5b6ed5e19e77c
MD5 7dfa8e5587e07df0acbf8597a0c4acec
BLAKE2b-256 246deeabfb6ba4c3c2219d2ca211acbb0323ea69fc314e55fd7ae0d8c4a32e70

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