Solved

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

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article discusses how to create an extensible mechanism for linked drop downs.
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

757 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

18 Experts available now in Live!

Get 1:1 Help Now