Jump to content

Recommended Posts

Posted (edited)

I have a requirement to encrypt a PDF file with password.

Does anyone have experience doing this with any libraries? (I am looking for a free library at this moment.)

Edited by Soji

Share this post


Link to post
Just now, stijnsanders said:

You should check if synpdf can do it: https://github.com/synopse/SynPDF

I already downloaded that tried. But it seems like it can only generate the PDF. I haven't find anyway to load an existing PDF file and just encrypt it.

I looked into the help/source and it looks like it is not possible to load an existing PDF file and make changes with that unit.

Share this post


Link to post

I don't think that this is encryption. And in any case, it's probably worth knowing that the password can be removed trivially. 

Share this post


Link to post

There are several prjects/tools out there for that, mostly pricey stuff built on other stuff. Also check with TJoe when it comes to PDF handling.

  • Thanks 1

Share this post


Link to post
2 hours ago, Dany Marmur said:

There are several prjects/tools out there for that, mostly pricey stuff built on other stuff. Also check with TJoe when it comes to PDF handling.

I Would also tend to @tjoe if it comes to Pdf Questions. I don't think you will find a more competent person if it comes to Delphi and PDF 
https://uberpdf.org

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×