我想制定一个安全规则,允许所有用户读取该文件的名称。 这样安全吗?
path:图片/ {imageID}
rules_version = '2';
service firebase.storage {
// block getting list
match /b/{bucket}/o {
match /image {
allow read : if false
allow create : if true
}
// arrow reading for uses who know the file name
match /image/{imageID} {
allow read : if true
}
}
}
答案 0 :(得分:0)
我在控制台上尝试过。该规则似乎很安全。