acmutd / acmutd/meteormate-client

feat: Rate limting on backed

オープン
#123 コメント 0 件 リアクション 0 件 担当者 1 名 @PyDev19 が担当を希望しています GitHub で見る
Type: Feature Request
主要言語
TypeScript
スター
0
フォーク
0
平均マージ
1日 3時間
マージ済み PR(30日)
2

説明

### Problem / Motivation

A single, very motivated, UTD student can use inspect element to find the API endpoints and their bearer token. They can then use this info to DDOS our endpoints. Vercel somewhat stops this with their serverless system, but if we ever move to lambdas or non-serverless, it will be a bigger issue. So we need rate limitation baked into the backend as well as basic rate limiting to the frontend.

### Proposal

We can easily add this via `fastapi-limiter` for a simple rate limiting per IP address but for more complex production ready cases we need to implement a redis cahce for his to work and do it per UID instead of IP.

### Acceptance criteria

_No response_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。