Passwords
Protect documents with passwords or remove passwords from documents.
Docotic.Pdf can encrypt PDF documents with passwords using AES-256, AES-128, and standard (RC4) encryption algorithms. You can specify permissions for users of the encrypted document.
You can also decrypt PDF documents with the help of the library. You can save the decrypted document, removing passwords and permissions.
9.5.17615-dev 14,813 passed Total NuGet downloads 4,924,084Articles
Here is the list of articles about operations with passwords.
Encrypt PDF documents in C# and VB.NET
Use Docotic.Pdf library to protect PDF documents with passwords or certificates in C# and VB.NET.Decrypt PDF in C# .NET, remove PDF passwords
Use Docotic.Pdf library to open protected PDF documents in C# and VB.NET. Check if a PDF document is protected. Remove passwords from PDF documents.Protect PDF in C# .NET, remove PDF passwords
Use Docotic.Pdf library to protect PDF documents in C# and VB.NET. Check if a PDF document is protected.
Sample code
These sample codes show how you can use Docotic.Pdf for operations with passwords.
Encrypt PDF with a password
Protect PDF documents with user and owner passwords.Protect PDF document with AES
Protect PDF documents with passwords using the strongest AES 256-bit encryption algorithm.Check if PDF document is password protected
Check if an existing document is encrypted with passwords, certificate(s), or not encrypted at all.