This script allows to protect the resulting PDF, that is to say prevent people from copying its content, print it or modify it. It is an extended version of the original script, released by Klemen Vodopivec on http://www.fpdf.org, to work in combination with FPDI.
Note: protecting a document requires to encrypt it, which increases the processing time a lot. This can cause a PHP time-out in some cases, especially if the document contains images or fonts.