【发布时间】:2018-09-03 21:11:02
【问题描述】:
我正在尝试使用 Firebase 存储规则中的 request.resource.crc32c (https://firebase.google.com/docs/reference/security/storage/#properties_2)
我的目标是制定如下规则:
match /blobs/{hash}/{fileName} {
allow read;
allow write: if request.resource.crc32c == hash;
}
但是我尝试的每次写入都被拒绝了权限。 Firebase 文档没有提供有关 CRC32C 哈希格式的任何信息:是 hex、int、uint、base64 还是其他?
【问题讨论】:
标签: firebase google-cloud-storage firebase-storage