Site Map | About Us | Contact Us  

EO.Pdf 2012 for .NET -- Read/Write Encrypted PDF Files

All Products
 EO.Web Controls
 EO.Pdf for .NET
 HTML to PDF (Url)
 HTML to PDF (HTML File)
 HTML to PDF (HTML Markup)
 ASPX To PDF
 PDF Creator
 PDF Reader
 PDF Page Extractor
 PDF Splitter
 PDF Merger
 PDF Encryption
 Filling in PDF Form Fields

EO.Pdf fully supports PDF encryption. It can both read and write encrypted PDF files.

Use it in your Application

Sample code to load/save encrypted PDF file:

C# VB.NET  
>//Load inputFileName with password "1234"
PdfDocumentSecurity security = new PdfDocumentSecurity("1234");
PdfDocument doc = new PdfDocument(inputFileName, security);
 
//Set a new password "5678"
doc.Security.UserPassword = "5678";
 
//Disallow printing
doc.Security.Disallow(PdfDocumentPermissions.Printing);
 
//Save the PDF file
doc.Save(outputFileName);

Detailed documentation and sample code about this feature can be found in the download package.

Additional Resources

  • Product Documentation

    All features are explained in great details in the product documentation. It also contains complete reference information for each type, property or method;

  • Samples

    The download package contains a wide variety of samples with full C# and Visual Basic.NET source code that demonstrate how to use different feature of the EO.Pdf library.

  • Technical Support

    Still have questions? Post in our support forum or contact us and we will answer them quickly. Our turn around time is among the best in the industry.