Solved

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

Posted on 2008-10-24
3
827 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now