You are not logged in.
Pages: 1
Hi,
I am trying to generate a password protected PDF that cannot be modified w/o password like so:
lPdf := TPdfDocumentGDI.Create(false, 0 , false, TPDFEncryption.New(elRC4_128, '', 'password', PDF_PERMISSION_NOMODIF));
When I open the PDF in LibreOffice Draw I am prompted for the password, but may click Cancel or enter a blank password and the PDF is still opened and can be modified.
What am I doing wrong?
Thanks!
Offline
There is one further issue when using the Encryption:
As soon as I create a protected PDF with
lPdf := TPdfDocumentGDI.Create(false, 0 , false, TPDFEncryption.New(elRC4_128, '', 'password', PDF_PERMISSION_NOMODIF));
the data entered in the document´s TPDFInfo like
lPDF.Info.Author := 'Auto Generated Document';
lPDF.Info.Creator := 'XYZ GmbH';
can no longer be displayed properly in Adobe Acrobat or any other PDF reader.
Did anyone successfully use TPDFEncryption without this issues?
Offline
We are facing the very same problem:
Creating a protected PDF makes the information fields (Title, Author, Creator, Subject) unreadable when opening the PDF in Adobe Reader (or any other PDF viewer like Foxit Reader, even Google Chrome).
This used to work in past versions (can't tell which one; but I think this bug was introduced lately).
I've created an issue ticket on Github:
https://github.com/synopse/SynPDF/issues/32
Hopefully @ab will fix this as soon as possible.
Many thanks in advanve,
Achim
Offline
Pages: 1