Solved

How do I disable menubar items and toolbar items for PDF documents viewed in a web browser?

Posted on 2008-10-24
3
872 Views
Last Modified: 2012-06-21
How can I disable all ability to save, copy, export, and email a PDF (per document) when viewed within a browser?  I have accomplished this at an application (Acrobat Reader) level by placing the attached file in the C:\Program Files\Adobe\Reader ?.0\Reader\Javascripts folder for locally viewed documents, but this affects the menubar and toolbar for ALL PDFs viewed within reader.  The app.hideMenuItem and app.hideToolbarItem methods cannot be used within a PDF document level... nor will it work at all for documents viewed within the browser.  I need to accomplish this for individual PDFs rendered from a website.
Config.js.txt
0
Comment
Question by:abainternational
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 44

Accepted Solution

by:
scrathcyboy earned 500 total points
ID: 22800672
"I need to accomplish this for individual PDFs rendered from a website."

You will not do it.  The display of a PDF is controlled by the user -- they choose the browser, they choose which plugin modules will open a PDF file from the browser (usually an acrobat reader version) and the features they see are the features that their plugin module allows them to do in that browser.  I can view, print or save ANY PDF I get from the web, and no one can stop me, or anyone else, it is the user's control as to how his browser displays and allows printing or saving, it is OUT of the control of the website.

You can do this on your own system with an application that limits your interaction, but you cannot do this from a site on the internet.  If the PDF file is there, anyone can download it, save it, print it, and extract out of it all the text and graphics if they want to.

If you want to protect your content, consider using FLASH for all of it.  You flash will not be indexed by any search engines, so your page ranks will be zero, but it is much harder to extract images and text from a flash presentation than a PDF document -- which you cannot protect from a website, unless you want to put all the PDFs in a folder on the website protected by a login and password.  That is your only other option.
0
 

Author Comment

by:abainternational
ID: 22808426
Thank you for your response and insight.  This is consistent with what I have been finding... does anyone know of a viable work around?  Third-party DRM (document rights management) or encryption tool?  "Failure is not an option."  Kind Regards.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Adobe PDF proprietary file format is recognized as secure and formulated. But these PDF files are also prone to corruption and any external threat like virus attacks, improper storage can hit PDF file integrity.This type of damages can make cruc…
This article discusses how to create an extensible mechanism for linked drop downs.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question