devresources
devresources copied to clipboard
Ratelimit on Certain URLs
Considering the security and recent slowdown in the server, we should implement the ratelimit on certain urls where any kind of data is being saved.
I want specify some limits on required urls -
| URL | PER DAY PER IP LIMIT | HTTP METHOD |
|---|---|---|
| contact-us/ | 10/day per IP | POST |
| resource/create/ | 20/day per IP | POST |
| resource/update/int:pk/ | 100/day per IP | POST |
| resource/delete/int:pk/ | 50/day per IP | POST |
| signup/ | 10/day per IP | POST |
| profile/ | 5/day per IP | POST |