Aspose Demos > .NET Components > Aspose.Pdf.Kit > C# > Set PDF Security
 

 Set PDF Security - Aspose.Pdf.Kit

This demo applies Security settings over input Pdf document, based over users selection.

Using EncryptFile method in PdfFileSecurity class of Aspose.Pdf.Kit component, developers can make PDF documents secured, by simply encrypting the documents.You can also set privileges on a PDF document without applying encryption. Using SetPrivilege method in PdfFileSecurity class of Aspose.Pdf.Kit component, several privileges can be applied on a PDF document.

For more information, please visit Implementing Security.

Check security options and click Do to see how demo takes input PDF file , applies security options and sends the resulting document to user for review.

You can allow You can encrypt file with