I have an app that uses the Firebase SDK to directly talk to Cloud Firestore from within the application. My code makes sure to only write data at reasonable intervals. But a malicious user might take the configuration data from my app, and use it to write an endless stream of data to my database.
How can I make sure a user can only write say once every few seconds, without having to write any server-side code.
2.1m questions
2.1m answers
60 comments
57.0k users