@vincent15000, The solution from Acrobat expert's old article I read once (sorry, I did not retrieve any link) presented as the only one is to print each encrypted PDF as a new PDF and then merge them… Maybe there is a solution with a virtual printer on the server…
How to merge encrypted PDF files ?
Hello,
In a web app I have developed for a client, there is a functionality to store existing PDF files. Some PDF files are encrypted (it is possible to read them without any password, but it is not possible to merge them without the author password).
For the moment, I use a free PDF merger and this library doesn't merge encrypted PDF files.
It seems to be impossible to remove the encryption without knowing the password. I had a look at the SetaSign API and this API doesn't remove the encryption without knowing the password.
Initially my client used the SmallPDF website which was able to merge these encrypted PDF files without knowing the author password.
So it is sure there is a way doing this. But how ?
I have tested quite all free packages without any success with the encrypted PDF files. And the SetaSign API (not free) seems not to authorize doing this without knowning the password. Whereas SmallPDF does it !
Do you have any idea how to solve my problem ?
Thanks a lot ;).
Vincent
Please or to participate in this conversation.