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 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

How can I disable download and print option in the PDF and PPT content in my browser application?

  • 2 प्रत्युत्तर
  • 1 यह समस्या है
  • 1 view
  • के द्वारा अंतिम प्रतियुतर jscher2000 - Support Volunteer

more options

I have PDF and PPT content in my browser application. I want users to just view the content. I don't want them to download or print it. How can I disable the download, save as and print option in the PDF and PPT content.

I have PDF and PPT content in my browser application. I want users to just view the content. I don't want them to download or print it. How can I disable the download, save as and print option in the PDF and PPT content.

All Replies (2)

more options

If you can view you can print it. So unless your configures the Browser in some way to only Read-Only that is the only way to prevent printing or downloading.

more options

Hi chaits14, as WestEnd points out, if the entire file is sent to the browser, there's usually a way to save it.

However, you are correct that the built-in PDF viewer makes that very easy. If you prefer a viewer that doesn't have a download button, you can install a web application version of the viewer on your site and change what appears on the toolbar. Here's a somewhat similar thread:

I want to remove the pdf toolbar using HTML and CSS. Can I do that?

See also: https://github.com/mozilla/pdf.js/wiki/Setup-pdf.js-in-a-website