有没有来自控制台的 Firebase 存储规则可以阻止下载和打印 PDF 文档?

huangapple go评论53阅读模式
英文:

is there any firebase storage rule from console that prevent download and print pdf document?

问题

我想防止任何用户通过我的Firebase文档URL下载/打印我的文档,比如PDF,只能查看它。例如,我想要链接我的PDF文件以便人们可以查看它,但不能分享或下载它,我该怎么做?

英文:

I want to prevent any user with my Firebase document URL from downloading/printing my document such as pdf but only to view it. For example, I want to link my PDF file so people can view it, but not share it, or download it, how do I do that?

答案1

得分: 2

你可以通过 Firebase 的安全规则来控制谁能访问数据。但一旦用户下载了数据,Firebase 就无法控制他们对数据可以做什么。

英文:

You can control who can access the data through Firebase security rules. But once the user can download the data, Firebase has no way to control what they can do with that data.

huangapple
  • 本文由 发表于 2023年5月18日 01:57:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/76274959.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定