Solved

Cut/copy/save prevention in pdf file presented on website

Posted on 2011-03-22
4
592 Views
Last Modified: 2013-12-25
Would like to hear experienced solution for this.  Understand can create pdf from image to
handle (mostly) the cut/copy prevention.  This takes more time to do, decreases quality and
does not prevent Save-As.

Files would be displayed on a website.  Have thought about php.  In my experience (limited), PHP
would be best all around solution - but am not a code-writer.  
A drag/drop solution to generate php files for web display would be helpful.
0
Comment
Question by:hayeshomeworks
  • 2
  • 2
4 Comments
 
LVL 32

Expert Comment

by:DrDamnit
ID: 35191198
"A drag/drop solution to generate php files for web display would be helpful." does not exist. PDF is PDF, and PHP is PHP. You cannot drag and drop a PDF file to create a PHP file. Do you mean taking the PDFs and generating images out of them?

As far as copy / paste prevention goes, are you trying to keep people from copy / pasting your TEXT in the PDF or pictures?

The general rule is: if it can be seen or used, it can be copied. So, how much protection do you really need?
0
 

Author Comment

by:hayeshomeworks
ID: 35191519
Not trying to merge the two formats.  Was suggesting PHP as an alternative to PDF publishing.

Protection:  No cut/copy/save.  Viewed through virtually any computer with widely available software (suchs as Adobe).

Scenario:

A UI presents a series of questions, and conditional answers gather particular documents and pre-populate a few forms and make this set of docs available for print.  But "highlight dragging" and saving is disabled. (internal struggle: perhaps the docs never have to be shown on screen - maybe small sample thumbnails of the set will suffice.  Alternatively - it seems less background is required if actual forms are shown on screen for direct entry by user)

On this forum, I have recently discovered that Print2flash seems (so far) to be a viable option, still have to figure out the path to pre-populate a few of the docs based on the answers - thinking a script will be required - but at early stages of figuring this out (and without all the brainpower and experience required)
0
 
LVL 32

Accepted Solution

by:
DrDamnit earned 125 total points
ID: 35194694
Why not just use javascript to disable right mouse clicks and highlighting?

http://www.hypergurl.com/norightclick.html

Specifically, see the code that references ondragstart and the part that disables mouse clicks.
0
 

Author Closing Comment

by:hayeshomeworks
ID: 35202166
I like the simplicity of the solution though in my particular case, it won't be quite enough.

My current path is to use PHP to accomplish my aim...now I just have to learn how exactly...
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

807 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