This free consulting project uses Aspose.PDF to enable you to encrypt/decrypt PDF file using Aspose.PDF for .NET under .NET Core environment. It also showcases a functionality to set different privileges on a PDF document while saving it.
Below is the main screen of the application which is annotated as well to describe functionality of each control:
Load License File: You must have a valid license file before using the application. In case you do not have one, you can apply for a 30-days free temporary license to use and evaluate the API without any restriction.
Select a PDF File to Encrypt: The application uses a sample PDF document (Sample.pdf) which is also available in the project but, you can use any PDF document.
Specify Privileges and Password: This section would allow you to specify password for the PDF and different privileges options as per your needs.
Output PDF Document: After pressing "Encrypt PDF" Button, application will produce an output PDF document with all options and password set. Following images show how PDF properties look like before and after applying the encryption.
If you have any questions about Aspose APIs, please feel free to post your query in Aspose file format APIs Forums.
Also, you can keep in touch with the latest developments in file format APIs offered by Aspose at our Blog.
I want to apply encrypt decrypt password in adpose pdf in dot net Core. Is it feasible to set privilege? github.com/aspose-free-consulting/projects/issues/67