jorisschellekens / borb

borb is a library for reading, creating and manipulating PDF files in python.

Home Page:https://borbpdf.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set Password For PDF generated

mfikrin opened this issue · comments

I want to create a pdf and provide a password to the pdf (user password and owner password). Currently, I have succeeded in using a combination with other libraries but I think it takes a very long time if the PDF is large because it has to be dumped first and the other library should read the pdf and encrypted using these other libraries. Currently, is Borb able to set a password for the generated PDF? Thank You

I recently added the capability to read a password-protected PDF, however writing a password-protected PDF is currently unsupported.

okay, thank you for the answer and confirmation