I searched the threads and could not find this specific PDF security question answered. If you enable security on the PDF it requires a password to do anything to the PDF including view and print.
I would like to send secured PDF's to customers and only require a password if they attempt to modify or copy the document.
Opening, printing and view should NOT require a password.
My code
IF PassPassword <> '' THEN
BEGIN
PDFCreatorOption.PDFUseSecurity := 1;
PDFCreatorOption.PDFOwnerPass := 1;
PDFCreatorOption.PDFOwnerPasswordString := PassPassword;
PDFCreatorOption.PDFDisallowCopy := 1;
PDFCreatorOption.PDFDisallowModifyContents := 1;
PDFCreatorOption.PDFDisallowPrinting := 0;
PDFCreatorOption.PDFUserPass := 0;
PDFCreatorOption.PDFUserPasswordString := PassPassword;
PDFCreatorOption.PDFHighEncryption := 1;
END;
Any ideas??? ](*,)
Steve
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n