manyfold3d / manyfold

A self-hosted digital asset manager for 3d print files.
https://manyfold.app
MIT License
720 stars 47 forks source link

Add rate limiting #2270

Open Floppy opened 3 months ago

Floppy commented 3 months ago

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:

Floppy commented 3 months ago

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

Floppy commented 3 months ago

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