Is there any way to discover which user is spamming requests on my firestore set up in order to remove them.
The scenario is that a user can make a certain request many times, which it will lead me to hit my daily limit.
I have access to both the client and the firebase, so it it better to do a client approach or use firebase rules/functions approach?
Thanks a lot
The only mechanisms to monitor usage of Firestore are shown in the documentation. There is no provided mechanism to track per-user access, unless you implement that yourself somehow.
Read quotas cannot be implemented fully by security rules. You will definitely need a backend to track that access on your own, and force users to use that backend instead of providing direct client access.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With