moodle-mod_simplecertificate
moodle-mod_simplecertificate copied to clipboard
Lock so it is not editable in Acrobat?
Describe the bug Is there a way to lock this certificate so it is not editable in Acrobat?
Moodle Version(s) The moodle version (Moodle 3.7)
To Reproduce Download and open in Acrobat
Expected behavior Is there a way to add password protection?
Desktop (please complete the following information):
- OS: Windows 10
- Browser: not browser related, same in all browsers.
last time i check (long time ago) this functionality in the pdflib which this plugin uses was not possible
Wondered if there was any updates on this capability, as this has become an issue for a couple of our clients. Thanks!
Add the line - $pdf->SetProtection(array('modify'));
In locallib.php - around line 954 - this makes it a bit harder to edit the pdf