X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36

More Information

WestEnd 60 solutions 5387 answers

Helpful Reply

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.

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.
Was this helpful to you? 1
Quote
jscher2000
  • Top 10 Contributor
8757 solutions 71653 answers

Helpful Reply

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

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: [https://support.mozilla.org/questions/1262019 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
Was this helpful to you? 1
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.