Protected PDF
Hello everybody.
I have tried to modify the ProtectionFlags property in the TfrxPDFExport component, but didn't work:
ePrint = True
eModify = False
eCopy = False
eAnnot = False
I need to export a report in a protected PDF file, and this PDF cannot be edited or modified by any PDF editors.
Best regards.
Junior
I have tried to modify the ProtectionFlags property in the TfrxPDFExport component, but didn't work:
ePrint = True
eModify = False
eCopy = False
eAnnot = False
I need to export a report in a protected PDF file, and this PDF cannot be edited or modified by any PDF editors.
Best regards.
Junior
Comments
I don't think it works in v6.2 either. Have you raised a Support Ticket?
Cheers, Paul
PS. Our testbed allows various options to be set/cleared, and when the Export Dialog pops up it seems the Security Options are not available. But the document produced can be Printed, Modified and Annotated.
Hi Paul!
Yesterday, after I have posted this thread, I have made some tests to undestand this protection mode. I have used DoroPDF to try to make and protect a file, and I understood the metod. When we need to protect a PDF file, a master password must be defined, in our case, OwnerPassword propertie. The file can be open normaly (without a password), but the lock options works fine. I think the password is necessary to modify the file, but I didn't test this.
Hope this helps you too.
Cheers.
Junior
You prompted me to do some digging of my own.
We were setting OwnerPassword, as well as UserPassword. What we were also doing (and you can see it in the screen shot in my last post) was setting the PDF/A option.
Clearing that option made everything work as expected, showing the "Security" tab in the Export Dialog Box, and showing different behaviours when "owner" or "user" is entered as password. Oh and I validated this in both Adobe Acrobat, and Nitro Pro.
The client who wanted this ability is currently using a third-party tool to secure their reports. It will be great to offer them a "native" solution! [img]style_emoticons/<#EMO_DIR#>/cool.gif" style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" /> Cheers, Paul[/img]