PdfTranslatorSetOneTimePasswords Method |
Namespace: Atalasoft.Ocr
public void SetOneTimePasswords( SecureString userPassword, SecureString ownerPassword = null )
PDF documents have two passwords associated with them, a user password and an owner password. If an encrypted document is opened by a conforming reader using the owner password, then the security Permissions are ignored. If an encrypted document is opened by a conforming reader using the user password, then the security Permissions are enforced. When a document is created with only one password or one unique password, it is considered the same as having only an owner password.
PDF/A standard does not support encryption and password-protected access permissions.