Firebase Security Rules propagation delay and Admin SDK bypass interaction
0 reputation · 05 Oct 2020, 21:55 UTC
0 reputation · 05 Oct 2020, 21:55 UTC
Firebase Security Rules for Realtime Database and Cloud Firestore enforce client-side access control, but the Admin SDK authenticates with a service account and bypasses these rules entirely. Rule updates also experience propagation delay due to client-side caching, and previously accessible data remains reachable via cached URLs or signed URLs even after rules are tightened.
Determine the effective window during which a tightened rule change may not yet be enforced for client SDKs, while Admin SDK operations continue to operate without rule constraints.
A thoughtful contribution can make all the difference. Be the first to share one.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.