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

搜尋 Mozilla 技術支援網站

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

了解更多

Why is a showed PDF file with a no-print security in Firefox printable

  • 7 回覆
  • 7 有這個問題
  • 30 次檢視
  • 最近回覆由 smo

more options

We are linking PDF files in our website. Today we were unpleasantly surprised: it is possible in Firefox to print a PDF file that is print protected by Adobe with a password

In other bowsers, the same file isn't printable. How is this posible and better how can we prevent this.

We are linking PDF files in our website. Today we were unpleasantly surprised: it is possible in Firefox to print a PDF file that is print protected by Adobe with a password In other bowsers, the same file isn't printable. How is this posible and better how can we prevent this.

所有回覆 (7)

more options

The PDF Viewer introduced in Firefox 19 does not enforce all of the permissions that can be set on a PDF. I'm not sure whether this was an intentional decision or an oversight.

Earlier thread with the same issue: Firefox 19.0 pdf viewer ignores pdf encryption - how do I get it to honor the encryption?

I haven't searched Bugzilla or the pdf.js github issues list to see whether there is a plan to change this.

more options

I would assume you are using the intrinsic Firefox JS solution and not the Adobe PDF plugin, is this correct? If this is so, I would call it a bug.

I have entered a bug just in case (https://bugzilla.mozilla.org/show_bug.cgi?id=877704). Better be safe than sorry.

Let's see how fast this gets answered / fixed.

Regards

PS: one can disable the js solution:

View PDF files using Firefox’s built-in viewer

but I think in your case it probably will not help.

由 smo 於 修改

more options

hello frankert, the no-print permission isn't an effective security feature but a mere DRM-placebo. there are other pdf-readers out there which won't follow these restrictions and free online tools where you can scrap any document of this no-print permission.

there has been ongoing discussions by mozilla's developers in bug reports if these permissions should be honored, but in my judgement its rather unlikely that this will land someday (also because firefox has a focus on openness and user-control). the pdf viewer in firefox renders the documents as websites & there also is no way to protect a website from being printed...

edit: @smo, there already is bug 792816 & quite a few duplicates on the same issue

由 philipp 於 修改

more options

edit: @smo, there already is bug 792816 & quite a few duplicates on the same issue

I checked to avoid duplicates, but could not see any in the PDF viewer corner.

由 smo 於 修改

more options

Thank you all for the comments. We choose a PDF instead of placing the text on the website because the information is also sold in print next to it. Reason enough not to unlock it by print.

Yes we know that passwords bypass is posible, even we are not happy with that. openness on the web is fine, but this is more a limitation of the possibilities of the Internet than an improvement.

If anyone has any suggestions to solve this problem yet in another way, please let me know.

由 frankert 於 修改

more options

Hi frankert, is your goal to provide free online/offline reading of the entire PDF on a screen -- but not on paper?? I'm not sure I see the future in that...

I think the best way to make it hard to print the entire thing would be to make it an awesome screen experience, with pagination determined by natural content breaks, and hyperlinking/bookmarking and other interactive features. You could offer a brief sample excerpt in PDF or eBook format and think about selling the full versions. The few eBooks I've purchased have my name and/or email stamped on each page, which I assume is intended to deter sharing.

more options

see the bug pdf.js doesn't respect document permissions for extensive discussion of the issue (btw, my bug was de-duplicated right away).

What about making it kind of honey-pot way? Displaying the summary, or the first few paragraphs, similar to the way Amazon shows selected pages in the book I am interested in.