简体   繁体   English

Firebase 存储映像显示问题

[英]Firebase Storage Image Displaying Issue

I am successfully able to upload an image to firebase and retrieve it also.我成功地将图像上传到 firebase 并检索它。

My issue is, I want the uploaded image to not be visible in storage section even for the admin.我的问题是,我希望上传的图像在存储部分中不可见,即使对于管理员也是如此。

Is there a method from which i can Encrypt the Image and store in firebase?有没有一种方法可以加密图像并存储在 firebase 中?

or,或者,

Is there any rules that has to changed for it to work like my requirement?是否有任何规则必须更改才能按我的要求工作?

Thanks in Advance提前致谢

Firebase Storage can be used to store any type of binary data. Firebase 存储可用于存储任何类型的二进制数据。 So if you don't want the images to be visible by a collaborator on the Firebase project, you can encrypt the data on the client that uploads the data and then decrypt the data on any client that reads it.因此,如果您不希望 Firebase 项目的协作者看到图像,您可以在上传数据的客户端上加密数据,然后在读取数据的任何客户端上解密数据。

This requires no changes to the security rules, as those don't access the binary data of the files.这不需要更改安全规则,因为它们不会访问文件的二进制数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM