Security

edit
ToUsePage
Require a password to open a document, or restrict printing and copyingPdfDocument.EncryptionEncryption
Encrypt a document for the certificates of its recipientsPdfEncryptionRecipientEncryption
Open an encrypted documentPdfReadOptions.Password, PdfReadOptions.CertificateEncryption
Embed an encrypted document in a document that every reader opensPdfDocument.SetEncryptedPayloadUnencrypted wrapper documents
Prove who approved a document, and that it did not change sincePdfSignerDigital signatures
Check the signatures of a documentPdfSignatureVerifierDigital signatures

Encryption and signatures protect different things. Encryption hides the content from those who do not have the password or the private key of a recipient; its permissions are honored by the readers, not enforced by the file. A signature does not hide anything: it proves that the signed bytes did not change, and binds them to the certificate of the signer, whom the application must decide to trust.

In this section