Reputation: 2209
The app user will generate and store plain text data, which may be sensitive and private. It's critical that only that user have access to that data and that the developer cannot read what a user has written.
How can I achieve this in Firebase? I understand this can be done through some encryption technology. But I'm not sure where I should look.
Upvotes: 0
Views: 98
Reputation: 598718
Yes, this can be (and has been) done. You''ll have to encrypt/decrypt both the values and the paths at which you store these values on the clients and then use an out-of-bounds way to distributing the encryption/decryption keys.
While searching I found this very simple implementation of an encrypted chat: https://github.com/Dissimilis/FirebaseChat
Upvotes: 1