My application has integrated Chat feature using Firebase Realtime DB for storing chat content. Recently, I received the email has content:
[Firebase] Your Realtime Database ***** has insecure rules
My app's using authentication by server-side without integrating Firebase Authen. So, if I set the read/write rules to false
, the normal user can not chat.
How to resolve this issue? Thanks!
{
"rules": {
".read": false,
".write": false
}
}