This content has been marked as final. Show 2 replies
Yes. However, it requires either knowledge of the PDF format, or a custom file strut.
You can take your PDF file, encrypt it, and add a password into it. Then, your end user would require a program that would ask for the password, and match it to the file. If it is OK, then you decrypt the PDF to produce the result.
This requires that the user runs a program just to decrypt the file.
PDF files can have Adobe Acrobat based passwords, signatures, digital certificates, and DRMs embedded in them without the need to have external programs modify the document.
Check out the iText API (Google for it). I believe it can do what you want.