happypdf / SecurityOptions
Interface: SecurityOptions
Defined in: src/core/security/PDFSecurity.ts:50
Interface options for security SecurityOptions
Properties
ownerPassword?
ts
optional ownerPassword?: string;Defined in: src/core/security/PDFSecurity.ts:56
Password that provides unlimited access to the encrypted document.
Opening encrypted document with owner password allows full (owner) access to the document
permissions?
ts
optional permissions?: UserPermissions;Defined in: src/core/security/PDFSecurity.ts:67
Object representing type of user permission enforced on the document
Link
UserPermissions
userPassword?
ts
optional userPassword?: string;Defined in: src/core/security/PDFSecurity.ts:62
Password that restricts reader according to the defined permissions.
Opening encrypted document with user password will have limitations in accordance to the permission defined.