We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.