Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock so it is not editable in Acrobat? #240

Open
dmcdonaldak opened this issue Feb 5, 2021 · 3 comments
Open

Lock so it is not editable in Acrobat? #240

dmcdonaldak opened this issue Feb 5, 2021 · 3 comments

Comments

@dmcdonaldak
Copy link

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.
@bozoh
Copy link
Owner

bozoh commented Apr 22, 2021

last time i check (long time ago) this functionality in the pdflib which this plugin uses was not possible

@ShellyMcCollum
Copy link

Wondered if there was any updates on this capability, as this has become an issue for a couple of our clients. Thanks!

@shediac2
Copy link

shediac2 commented Feb 1, 2023

Add the line -
$pdf->SetProtection(array('modify'));

In locallib.php - around line 954 - this makes it a bit harder to edit the pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants