Solved

Protect PDF file Using fpdf

Posted on 2011-02-10
4
2,337 Views
Last Modified: 2012-05-11
How to provide protection using fpdf ?

Currently we are using fpdf_protect.php for 40 bit , but it's not providing any kind of protection to the pdf file as well as it's erasing content of the pdf file.  In pdf protection pdf content could not able to copy , paste.

Could you provide me some exact solution for the pdf protection.? or i am ready to chosse another free protection script to fulfill the requirement.
0
Comment
Question by:ronak307
  • 2
4 Comments
 
LVL 8

Expert Comment

by:kivan24
ID: 34863910
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 34867909
Interesting question.  Are you trying to publish something on the internet and protect it at the same time?  If so, forget it.  If you want it protected, do not publish it!
Perhaps you can explain your objectives in a little more detail.  If we really understand the situation we may be able to suggest a solution.
0
 

Author Comment

by:ronak307
ID: 34868585
Hello Rau_Paseur,

Thanks for your reply , Currently we want to protect any pdf file using fpdf , Now it's proitected also. But still we are looking for little more in this protection process. AS per our requirement any user open the pdf but user could not be able to copy , paste or print this pdf .

I hope you get my above mention requirement and provide us some solution for that.

Note : PDF content could not be able to copy, paste and print.
0
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 34872060
This does not make sense: "PDF content could not be able to copy, paste and print."  PDF is a format designed explicitly for printing.  PDF is made in such a way that anybody with Adobe Reader can copy and paste.  If it is published on the internet, it has "escaped into the wild" so to speak.  So it will be necessary for you to redefine the meaning of "protection."

I have seen some applications that used a password-protected page to generate PDFs or images.  At the time the files were generated, they added a watermark or statement of ownership, identifying the individual who requested the file.  It's far from foolproof, but it can provide a small deterrent against copying.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

825 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