Login

Tag "protection"

Snippet List

HammeringMiddleware

A middleware which will protect from page hammering using flexible spanning time windows using the cache backend. Please read the Docstring of the class for details.

  • middleware
  • spam
  • security
  • refresh
  • protection
  • hammering
  • django-newcache
Read More

Rate Limiting Decorator

This is a small and useful decorator that you can use to protect yourself from bad users or bots hitting your site.

  • security
  • cache-based-rate-limiting
  • protection
  • rate limiting
Read More

2 snippets posted so far.