manyfold icon indicating copy to clipboard operation
manyfold copied to clipboard

Add rate limiting

Open Floppy opened this issue 1 year ago • 2 comments

Various things would benefit from rate limiting to avoid DoS, spam, or just overloading by one user at the expense of others. There must be a general rate-limit system we can look into that will do this.

Need to limit:

  • [ ] Upload frequency and size for #2236
  • [ ] Login attempts #2238

Floppy avatar Jun 17 '24 15:06 Floppy

This is coming out of the box in Rails 8! https://www.bigbinary.com/blog/rails-8-rate-limiting-api

Floppy avatar Jun 17 '24 15:06 Floppy

https://github.com/rack/rack-attack?tab=readme-ov-file is also relevant

Floppy avatar Jun 18 '24 14:06 Floppy