Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate Limiting for POSTs #2

Open
horahoradev opened this issue Nov 23, 2023 · 3 comments
Open

Rate Limiting for POSTs #2

horahoradev opened this issue Nov 23, 2023 · 3 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@horahoradev
Copy link
Owner

Context and Motivation

We need rate limiting to ensure untrusted users don't spam requests (e.g. new comments over and over).

We currently use echo on front_api; https://echo.labstack.com/docs/middleware/rate-limiter is a promising option, but we primarily want to limit POST requests, not GET requests. Cloudflare should handle GET request concerns.

Prerequisites

I'd recommend learning about the following topics before approaching this:

Goals

  1. Rate limit POST requests, maybe by user privilege
@horahoradev horahoradev added help wanted Extra attention is needed good first issue Good for newcomers labels Nov 23, 2023
@Sanket-Arekar
Copy link

Hey @horahoradev I would like to work on this issue. Can you Please assign me this issue?

@horahoradev
Copy link
Owner Author

@Sanket-Arekar sure, are you in the Discord?

@horahoradev
Copy link
Owner Author

although, I think https://github.com/ravihidayat wanted this as well (can't seem to ping him)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants