Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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?

Toutes les réponses (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