FAQ

FAQ

choose category

Can FPDI import encrypted/protected PDF documents?

The free version of FPDI does not support importing of encrytped PDF documents.

Encrypting a resulting document is possible with the FpdiProtection class, which is an enhanced version of the FPDF_Protection class from the script repository of FPDF.

If you receive an error message like "This PDF document is encrypted and cannot be processed with FPDI.", you tried to process an encrypted PDF. Though you can open this document without entering a password in your PDF viewer the document is encrypted without a user-password. That doesn't mean that the document itself isn't encrypted but that the decryption process simply works with an empty password. Anyway the free version of FPDI cannot process this document.

The FPDI PDF-Parser add-on allows FPDI to import pages of encrypted documents. For more information see the manual of the FPDI PDF-Parser.

If you need to modify an existing document, that is already encrypted you may checkout any SetaPDF product.