Example of Encryption in ASP.NET Core PDF Library

PDF
Security
Encryption

This sample demonstrates how to encrypt the PDF document with encryption standards like 40-bit RC4, 128-bit RC4, 128-bit AES, 256-bit AES, advanced encryption standard 256-bit AES Revision 6 (PDF 2.0) and 256-bit AES-GCM (PDF 2.0) to protect documents against unauthorized access.

Click the button below to view a PDF created with Essential PDF. Please note that Adobe Reader or its equivalent is required to view the resultant document. However, AES-GCM encryption is not supported by Adobe Reader to view such documents, use Foxit Reader or another compatible PDF viewer.

  
  
  
  
  


It is possible to protect with user password or owner password or both passwords and also possible to change or remove password and permission. More information about encryption or decryption can be found in this documentation section.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab