Skip to content
On this page

Security

PDF Permission

PDF files can be set and removed to PDF document password, you can set and remove the password through the following function.

javascript
// Encrypt PDF Files
docViewer.setPassword('test')

// Decrypt PDF Files
docViewer.removePassword()