简体   繁体   English

添加打印并将受保护的pdf查看器下载到网站

[英]add print and download protected pdf viewer to web site

Is there any way to add slide share like PDF viewer to the web site? 是否可以将幻灯片共享(如PDF查看器)添加到网站上?

Only users can be able to view document... print or download can't be done.I tried several JavaScript plugins for doing that but unable to find one that has no print and downloadable options. 只有用户可以view文档...无法完成printdownload我尝试使用多个JavaScript plugins来执行此操作,但找不到找不到打印和可下载选项的JavaScript plugins And also client can disable JavaScript in browser therefore I think of that suitable server side script. 客户端也可以禁用浏览器中的JavaScript,因此我想到了合适的服务器端脚本。

I also unable to find a server side script (PHP) for this. 我也无法为此找到服务器端脚本(PHP)。 Please suggest. 请提出建议。

Just keep the file outside the web root directory because the web browser follows the local file system privileges and not its own. 只需将文件保留在Web根目录之外,因为Web浏览器遵循本地文件系统特权,而不是其自身特权。 Put them into a directory with a .htaccess file that blocks all communication. 将它们放入带有.htaccess文件的目录中,该文件会阻止所有通信。 Ex: Order deny,allow 例如:拒绝订单,允许
deny from all 所有人都否认

I don't know how much it will gonna help you. 我不知道它将对您有多大帮助。

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

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