EVO PDF Security Library for .NET

The EVO PDF security for .NET can be used in any type of application to manage the security settings of the PDF documents. You can encrypt the PDF content, add user and owner passwords, control the PDF document permissions for printing, copying, assembling, filling forms, editing content, editing annotations, etc or you can specify the length of the encryption key to 40 or 128 bits, remove all the security settings by providing the user or owner password. If you need a simple ready to use tool for combining your PDF documents and images we offer you a command line utility. The integration is extremely easy and no additional installation is necessary in order to get started. It's just a .NET assembly that you have to reference in your application. Samples are available in the downloaded archive.

DownloadDownload ContactSupport
  • Easy integration, no installation or setup is necessary on the server
  • Delivered as a single strong named .NET assembly (can be installed in GAC)
  • Can be deployed on the server by simple copy (xcopy deployment support)
  • Can be used from ASP.NET, Windows Forms, WPF, Web Service or Console applications
  • The same assembly can be used both on 32-bit and 64-bit Windows servers
  • Secure PDF documents from files and streams
  • Save secured document in memory or in file
  • Command line sample with full C# source code
  • Set user and owner passwords
  • Encrypt PDF document content
  • 40 and 128 bit encryption keys
  • Set PDF document permissions (print, edit, copy)
  • Remove PDF document security settings based on user or owner password

Code Sample

1: PdfSecurityOptions securityOptions = new PdfSecurityOptions();
2:  
3: securityOptions.CanAssembleDocument = canAssembleDocument;
4: securityOptions.CanCopyContent = canCopyContent;
5: securityOptions.CanEditAnnotations = canEditAnnotations;
6: securityOptions.CanEditContent = canEditContent;
7: securityOptions.CanFillFormFields = canFillFormFields;
8: securityOptions.CanPrint = canPrint;
9: securityOptions.KeySize = keySize;
10: securityOptions.UserPassword = userPassword;
11: securityOptions.OwnerPassword = ownerPassword;
12:  
13: PdfSecurityManager securityManager = new PdfSecurityManager(securityOptions);
14:  
15: if (removeSecurity)
16:     securityManager.SaveUnSecuredPdfToFile(srcPdfFile, outFile, removeSecurityPswd);
17: else
18:     securityManager.SaveSecuredPdfToFile(srcPdfFile, outFile);