Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
C#
Hello friends,

Can anyone help me how to create such pdf or some code that should 
1. remove cut, copy, paste, edit, print, & save option from pdf 
2. Strong Password Protection which cannot be cracked using any third party tools
3. Automatic Expire in Certain period of time.
4. Automatic Destruct on three wrong


Please help me !!!


What I have tried:

Adobe Acrobat XI pro



C#
Hello friends,

Can anyone help me how to create such pdf or some code that should 
1. remove cut, copy, paste, edit, print, & save option from pdf 
2. Strong Password Protection which cannot be cracked using any third party tools
3. Automatic Expire in Certain period of time.
4. Automatic Destruct on three wrong


Please help me !!!
Posted
Updated 12-Dec-16 13:37pm

1 solution

You need a PDF authoring tool that supports the Acrobat security model.

1) This is standard stuff, though there is nothing you can do to prevent a user from just hitting "PrtScn" to grab an image on what's on the monitor or just grabbing their cell phone and snapping a picture while the PDF is being displayed.

2) There's no such thing. All security is vulnerable eventually. It's only a matter of time to crack a password no matter what algorithm is used. The trick is that, today, with current hardware, certain algorithms are very weak and only takes minutes to hours to defeat. Others, take centuries. Now, 10 years from now, what will be possible can change and more algorithms will be considered very weak.

3) There is no such concept. A document is nothing but a file on disk and will never have an "expiration".

4) Not possible. A document is just data. There is nothing executing to cause it to delete itself.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900