Restricting child/field access with security rules

后端 未结 3 1502
南旧
南旧 2020-11-22 00:05

I\'m writing an app that allows users to submit nominations which are moderated before being displayed to other users. This requires a number of restrictions I\'ve so far be

3条回答
  •  北荒
    北荒 (楼主)
    2020-11-22 01:01

    this thread is a little outdated and it may have a solution via rules, but as the video says, its a neat trick: https://youtu.be/5hYMDfDoHpI?t=8m50s

    This may be not a good practice since the firebase docs say that rules are not filters: https://firebase.google.com/docs/database/security/securing-data

    I'm no specialist in security but I tested the trick and it worked fine for me. :)

    So I hope a better understanding of the security issues around this implementation.

提交回复
热议问题