Dynamic control of firebase storage security rules from database

后端 未结 1 925
悲&欢浪女
悲&欢浪女 2021-01-20 03:12

I want to have a dynamic control on storage rules from database. I mean it should check database nodes to allow read or write. But I cannot find a way. For example

相关标签:
1条回答
  • 2021-01-20 03:49

    There is no way to check the Firebase Database from Firebase Storage security rules.

    You'll have to either embed the necessary information into your Storage security rules, or embed it in the user's token as a custom claim.

    0 讨论(0)
提交回复
热议问题