更新时间:2023-11-28 08:22:46
This should work:
{
"rules": {
".read": true,
".write": "auth.uid === 'dJrGShfgfd2'"
}
}
Everyone in the world will be able to read the data, but only the user with UID dJrGShfgfd2
(and processes with administrative access) can write the data.