Answer the question
In order to leave comments, you need to log in
How to disable firebase in reactjs?
I want to create a small note service.
The author of the note retains the password for editing it, those who do not have a password will not be able to enter the edit mode, respectively.
Everything will be implemented on the react client. I will use firebase as a database.
I come from server programming, and I can't figure out how to isolate the database from interference? In fact, by storing the config and api on the client, any less charismatic user will be able to emulate unauthorized requests to the database, including its complete cleaning or changing the data in it.
How to properly work with firebase from the client?
Added:
Now the idea has arisen that when editing a note, there is no overwriting, but simply a new note is created. Is it possible to disable changes and deletions in the firebase console? Leave only adding and reading?
Answer the question
In order to leave comments, you need to log in
https://firebase.google.com/docs/auth/web/firebaseui
https://firebase.google.com/docs/firestore/solutio...
something like that probably
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question