-
|
Best practices for Firebase Firestore security rules? |
Beta Was this translation helpful? Give feedback.
Answered by
maitamdev
Mar 5, 2026
Replies: 1 comment
-
|
Use rule-per-collection with request.auth checks. Allow users read/write only their own data via request.auth.uid == userId. Keep public data readable. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
maitamdev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use rule-per-collection with request.auth checks. Allow users read/write only their own data via request.auth.uid == userId. Keep public data readable.