How to Protect PDF Files by Setting Security Permissions
For example, to permit only the users that have a password to access the document and also to
restrict their printing and copying capability, you can use the following parameter
combination:
Parameter | Value | Description |
---|---|---|
pdf.security.owner.password | <OWNER PASSWORD> | People using this password will be able to open the document, with full permissions. |
pdf.security.user.password | <USER PASSWORD> | People using this password will be able to open the document, but they will not be able to print. |
pdf.security.restrict.print | yes | Restricts users from printing. |
pdf.security.restrict.copy | yes | Restricts users from copying content. |
Important: If you specify just the user password (without an
owner password), then the people using it will be considered owners, and no restrictions will
apply to them.