Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Syncfusion .NET PDF Library offers various encryption standards to protect PDF documents from unauthorized access. Users can effortlessly integrate this library into their applications to secure PDFs with different levels of encryption. The library complies with the enhanced security features of PDF 2.0, providing AES-GCM and AES (Advanced Encryption Standard) 256 Revision 6 with Unicode password support.

This security works seamlessly across platforms, including Windows, macOS, Linux, Android, and iOS, through any .NET-based application, such as ASP.NET Core, ASP.NET MVC, Blazor, .NET MAUI, Xamarin, WinForms, WPF, and WinUI.

How to protect PDF documents in C#

The following code demonstrates how to protect a PDF document using C#.

Key features of PDF protection

Explore key functionalities, including encryption algorithms, user and permission passwords, customizable document permissions, and more to protect your PDF files.

Net Pdf Encryption Algorithms image

Encryption algorithms

The Syncfusion PDF Library provides support for basic and advanced encryption standards. The following are the encryption standards supported:

  • RC4 40-bit
  • RC4 128-bit
  • AES 128-bit
  • AES 256-bit Revision 5
  • AES 256-bit Revision 6 (PDF 2.0)
  • AES-GCM 256-bit (PDF 2.0)

Net Pdf Protect With Permission Password image

Protect with permission password

A permission or master password is used to set access rights for document restrictions. Only users with the master password can edit the encrypted document.

Net Pdf Protect With User Password image

Protect with user password

A user password, also known as a document open password, is required for users to open and view the document.

Net Pdf Document Permissions image

Document permissions

By customizing the document permission settings, you can control whether users are allowed to perform specific actions such as copying content, printing, editing the document, filling form fields, and more. Additionally, you can change or remove PDF permissions and passwords.

Net Pdf Encryption Options image

Encryption Options

The Syncfusion PDF Library lets users encrypt a PDF document as follows:

Net Pdf Removing Password Security From A Pdf File image

Removing Password Security from a PDF File

This process involves disabling the password protection on a PDF file, making it accessible without the need to enter a password. This can be useful for simplifying access when the document no longer requires security restrictions. Once the password security is removed, users will be able to open, view, and perform actions on the PDF without any restrictions.

Explore resources for PDF protection

Discover valuable resources from our blog and knowledge base to encrypt PDF documents.

Secure Your PDF Documents Like a Pro using C

Blog

Secure Your PDF Documents Like a Pro using C#

Simple Steps to Encrypt and Decrypt PDF Files Using C

Blog

Simple Steps to Encrypt and Decrypt PDF Files Using C#

Protect attachments in existing PDF documents

Documentation

Protect attachments in existing PDF documents

Syncfusion .NET PDF Library Resources

Explore these resources for comprehensive guides, knowledge base articles, insightful blogs, and ebooks.

Struggling to decide on the right product?

Our comprehensive competitor comparison of PDF framework will guide you to the perfect choice.

tick-mark 20+ Conversions support
tick-mark 50+ interactive demos
tick-mark 1.7M+ downloads
competitive-banner-FT-image

Frequently Asked Questions

PDF encryption is the process of securing a PDF document by encoding its contents to prevent unauthorized access. It’s important because it ensures that sensitive information remains confidential and protected from unauthorized viewing or tampering.

Yes, you can remove the encryption from existing PDF documents using Syncfusion .NET PDF Library.

Yes, you can control whether the users are allowed to perform specific actions, such as copying content, printing, editing the document, and filling form fields.

When choosing a password for encrypting a PDF, it’s important to use a combination of uppercase and lowercase letters, numbers, and special characters. Avoid using easily guessable passwords like common words or phrases.

PDF protection typically works by encrypting the contents of a PDF file, making it accessible only to users who have the correct password or decryption key. This encryption process involves encoding the document’s data using algorithms to prevent unauthorized access.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Want to create, view, and edit PDF files in C# or VB.NET?

Start a free 30-day evaluation today!
DOWNLOAD FREE TRIAL

No credit card required.

Mobile Free Evaluation Section

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Scroll up icon