Find answers to frequently asked questions and read through some tips and tricks related to all Setasign PHP products.

choose category

Can FPDI import encrypted/protected PDF documents?

FPDI does not support importing of encrytped PDF documents. After all this makes no sense, because the resulting document is a completely new document which may be re-encrypted or not.

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

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