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

Uploaded Source

Built Distribution

django_ratelimit_backend-1.1.1-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.1.1.tar.gz.

File metadata

File hashes

Hashes for django-ratelimit-backend-1.1.1.tar.gz
Algorithm Hash digest
SHA256 e9874508deda63371d9e0e3c01b586be84befe35dcc51b2794ef9a6b0f0ef4b0
MD5 876c7a42ff13ebab8cb11e5fe197079d
BLAKE2b-256 f88367f3dbb9d9f44620bca325ae402ed0e608e324d6187edc4f59d1465ec571

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_ratelimit_backend-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f2b7d89d0bb66f3485a5c860931bcf69e797c2396f249bacdac253f35711fc85
MD5 19ebc5d120c2b822aa24aebe2d53dc21
BLAKE2b-256 f27a936e330b5b87a69091664937525a39396d70b491edaa9a4e4b83370491dc

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