Repeated offenders #196
Answered
by
laurentS
michelkluger
asked this question in
Q&A
-
If I am trying to limit a user for abusing the limits repeatedly, What would be a good way to make limits increasingly smaller for that user, or times without access increasingly bigger? any suggestions? |
Beta Was this translation helpful? Give feedback.
Answered by
laurentS
Apr 24, 2024
Replies: 1 comment
-
I think you could use the usual limiter with a dynamic limit value, as shown in this test. I'd suggest you look at #13 (comment) and adapt that logic to provide a limit on each call. You will probably need some sort of data storage in your backend to keep track of each user's state with respect to the limit. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
michelkluger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you could use the usual limiter with a dynamic limit value, as shown in this test.
I'd suggest you look at #13 (comment) and adapt that logic to provide a limit on each call. You will probably need some sort of data storage in your backend to keep track of each user's state with respect to the limit.