Welcome! Log In Create A New Profile


[WD24] - Protect a PDF

Posted by JP 
[WD24] - Protect a PDF
July 30, 2019 12:58PM
Hi All

My app creates via printing commands a PDF file. I want the PDF file to be protected against modification but otherwise allow viewing, printing, etc. Just no modify. Is there a way to do this without requiring the user to enter a password to open the PDF file? I know about the PDFPassword() function but this would require a password each time the document is opened. I want to allow anyone to open it but just not modify it. Is it possible?
Re: [WD24] - Protect a PDF
July 30, 2019 01:40PM


iProtectionModification is your friend.

Kind regards,
Guenter Predl
Re: [WD24] - Protect a PDF
July 30, 2019 02:29PM
HI Guenter,


This ...

iParameterPDF( iProtectionModification + iProtectionSelection )

... works great!

Your Email:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.