为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Secured PDF in Browser

more options

I post Secured PDF on our website. These PDFs should not be able to print. When I use other browsers I am not able to print the PDF, but on Firefox I am able to print. I was even able to print to PDF. This is a security issue. How can this be resolved?

I post Secured PDF on our website. These PDFs should not be able to print. When I use other browsers I am not able to print the PDF, but on Firefox I am able to print. I was even able to print to PDF. This is a security issue. How can this be resolved?

所有回复 (5)

more options

juliana said

I post Secured PDF on our website. These PDFs should not be able to print. When I use other browsers I am not able to print the PDF, but on Firefox I am able to print. I was even able to print to PDF. This is a security issue. How can this be resolved?
more options

In Firefox it's under the preference pdfjs.enablePermissions which defaults to false. You can switch it to true in about:config to enable restrictions.

more options

Hi TyDraniu. Thank you for the information. I just have one questions for now, when I make the switch, this would only be applied to my computer, or can it change the settings for anyone who sees that PDF in firefox?

more options

It's only for you.

Enterprises managing Firefox with use of policy templates can also configure their all Firefox instances with a dedicated policy.

more options

Hi Juli, unlike a password to open a PDF, the copy/print/etc. permissions are on the honor system. It may be impossible to completely prevent printing by determined users, but to exercise more control, you can host your own PDF viewer customized to your needs. You've probably noticed these on other sites, and the basic code of the viewer built into Firefox can be installed on your site and run as a web application: https://github.com/mozilla/pdf.js/wiki/Setup-pdf.js-in-a-website