【发布时间】:2016-03-01 10:22:35
【问题描述】:
只有当您拥有键值时,我才有可以公开访问的服务器列表。
基本上如果用户有对象键,那么他可以检索完整的子对象。但不应允许他访问对象列表。
对象示例
{
"servers": { // list of server
// list should not be access directly - no anonymous access
"key1": { // this object can be access anonymously, if user knows the key
"name": "linux"
//...
},
"key2": {
"name": "ubuntu"
}
}
}
如何在 Firebase 中为上述对象制定这样的安全规则?
【问题讨论】:
标签: security firebase firebase-security