有没有办法在浏览器中显示pdf文件,使浏览者只能读取文件,不能以任何形式保存/下载/打印文件?


Is there any way to display pdf files in browser such that the viewer can only read the file and can't save/download/print the file in any form

我必须在我的PHP web应用程序中集成pdf文件,以便文件的查看器不能保存/下载/打印pdf文件。

我正在寻找一种方法,以任何方式做到这一点,如使用javascript, jquery或直接在PHP或任何其他方式,如果有的话。

我认为你需要一个自定义的PDF浏览器在你的应用程序,就像什么谷歌驱动器与图像和文档。我不知道有任何功能允许应用程序告诉Chrome/Firefox或注册PDF处理程序限制用户交互,就像你提到的。