為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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