Skip to content

Instantly share code, notes, and snippets.

@heloa-net
Last active December 11, 2016 22:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heloa-net/1c8d9a11aebd48195ccc0d2706068475 to your computer and use it in GitHub Desktop.
Save heloa-net/1c8d9a11aebd48195ccc0d2706068475 to your computer and use it in GitHub Desktop.
Firebase database rules for allowing public read access and write access to authenticated users only on personal node
{
"rules": {
".read": true,
"users": {
"$uid": {
".write": "$uid === auth.uid"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment