Closed thelinuxlich closed 10 years ago
Another question, what if there are many people using the app behind an intranet?
@thelinuxlich , sorry for the late answer. For first question: yes, you're right. This middleware works on per ip basis, so every different IP will be limited for this time.
This middleware helps to mitigate DoS attacks, so if I want to limit any user to 5 requests per minute, I'd write it like this:
Right?