TCPDF - Do not modify PDF's

1

How to leave without permission a PDF generated by TCPDF to modify or copy, etc?

These would interest me to leave without permission:

  • Document assembly
  • Page extraction
  • Comments
asked by Makeyourmove 14.11.2016 в 17:41
source

1 answer

0

Try using the function

setProtection()

for example:

$pdf->SetProtection($permissions = array('print', 'modify', 'copy', 'annot-forms', 'fill-forms', 'extract', 'assemble', 'print-high'), '', null, 0, null);

Here is the link to the documentation of the function

link

    
answered by 14.11.2016 / 18:02
source