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

Add rate limiting to requests #154

Open
Frewacom opened this issue Jun 3, 2021 · 1 comment
Open

Add rate limiting to requests #154

Frewacom opened this issue Jun 3, 2021 · 1 comment
Assignees
Labels
feature New feature future improvement Improvements to existing code security Everything regarding security of the server

Comments

@Frewacom
Copy link
Member

Frewacom commented Jun 3, 2021

We should make sure to block malicious users sending too many requests. There are packages available for this, e.g. https://www.npmjs.com/package/rate-limiter-flexible (as per a comment from AdonisJS discord server). Combined with a middleware, this should do just fine.

@Frewacom Frewacom added feature New feature improvement Improvements to existing code future security Everything regarding security of the server labels Jun 3, 2021
@McFrappe McFrappe self-assigned this Jun 10, 2021
@McFrappe
Copy link
Member

https://github.com/reg2005/adonis-request-throttler might be better suiting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature future improvement Improvements to existing code security Everything regarding security of the server
Projects
None yet
Development

No branches or pull requests

2 participants