This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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?

All Replies (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