Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Protect PDF file Using fpdf

Posted on 2011-02-10
4
Medium Priority
?
2,565 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
[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
  • 2
4 Comments
 
LVL 111

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 111

Accepted Solution

by:
Ray Paseur earned 2000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

722 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