Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

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

了解更多

printing encrypted pdf's

more options

FireFox allows encrypted pdf files to be printed and most browsers don't. Why!?

FireFox allows encrypted pdf files to be printed and most browsers don't. Why!?

所有回覆 (5)

more options

Where and how does others reading this verify this?

more options

try downloading an encrypted pdf and opening it in Edge or Chrome and it will not print. Open it in Firefox and it does print. Basically Firefox is ignoring the encryption I've put on the pdf's I send out to attorneys.

more options

I would suggest you open a bug to get input from Dev. https://bugzilla.mozilla.org/show_bug.cgi?id=792816#c12

由 jonzn4SUSE 於 修改

more options
more options

Yes, the pdf.js JavaScript library defaults to allowing all usual actions such as copy and print. Mozilla doesn't deviate from the default when using the library in Firefox's built-in PDF viewer.

If you are showing users PDFs online and do not want them to print, one workaround is to embed them in a custom implementation of the pdf.js viewer on your website, rather than having them open in the browser's own viewer. Then you can control printing. See: https://github.com/mozilla/pdf.js/wiki/Setup-PDF.js-in-a-website

There seem to be a lot of sites that do that, judging from user complaints here that the download button was missing when they viewed a PDF.

Note - if anyone needs a secured document to test on: https://www.jeffersonscher.com/res/protected.pdf