It is possible to set / update permissions and passwords in a PDF document using several of Qoppa’s Java PDF libraries and components. Call to change document permissions and passwords depending on which Qoppa library you use: // with jPDFSecure PDFSecure.setPasswordPermissions(newPermPwd, newOpenPwd, permissions, currentPermPwd, encryptType); // with jPDFProcess PDFDocument.setPasswordPermissions(newPermPwd, newOpenPwd, permissions, currentPermPwd, encryptType); […]
Articles Tagged: permissions
Multiple types of permissions in a PDF document
Starting with v2014R1, when enforcing permissions within a PDF document, Qoppa’s libraries check against 3 permissions types. The existing API was modified to reflect this change. Document Permissions – when the document is encrypted. DocMDP Permissions – when the document has a certifying signature. Usage Right Permissions – when the document is Adobe Reader enabled. […]