franklindyer / agora-app

Simple and (hopefully) secure social media application. Also a project for spring 2024 CS 444 cybersecurity class at UNM.
4 stars 1 forks source link

Rate limiting for user actions is needed #44

Closed franklindyer closed 6 months ago

franklindyer commented 6 months ago

To prevent users from writing their own bots to abuse the API, some sort of rate limiting needs to be implemented for actions that require users to be logged in. This could be as simple as keeping track of the user's last write action, and preventing any further write action that occurs before a (short) delay has passed.