CODEforDREAM
CODEforDREAM

Reputation: 1083

How to make user data not visible for developer on firebabse

This maybe very dumb question, but i'm making a note taking app, right now the data show on firebase look like this: enter image description here

Mean that i (as developer) can see raw data, what user wrote, in this case header is "asadd" and the note

As an user, of course i will never use my app again if i know this, so my question is, how can i hide user data, i mean encrypt the data, so instead of "asadd" it will some some random string that only user know what is it I worked with react-native, please help, thank you so much

Upvotes: 1

Views: 33

Answers (1)

ZFloc Technologies
ZFloc Technologies

Reputation: 4635

You can use React Native AES package to encrypt data by using user's unique ID or password which only known by user and decrypt with the same. So that the data will be end to end encrypted.

Upvotes: 2

Related Questions