Encrypt PDF API
Encrypt and protect PDF documents securing with a password
The API for protecting PDF files with user or owner password. Protect PDF with 256-bit AES strongest and most secure level of encryption within the PDF format. Set additional PDF permissions for disabling editing or printing PDF. The files protected with this API guarantee that users' files will be under the best protection.
Sets the encryption algorithm.
Sets the user password (also known as a document open password) in the output PDF document. Users will be asked to enter this password before Acrobat Reader allows them to view the PDF document.
Code snippet
// Code snippet is using the ConvertAPI JavaScript Client: https://github.com/ConvertAPI/convertapi-js
// Code snippet is using the ConvertAPI Node.js Client: https://github.com/ConvertAPI/convertapi-nodejs
// Code snippet is using the ConvertAPI PHP Client: https://github.com/ConvertAPI/convertapi-php
// Code snippet is using the ConvertAPI Java Client: https://github.com/ConvertAPI/convertapi-java
// Code snippet is using the ConvertAPI C# Client: https://github.com/ConvertAPI/convertapi-dotnet
# Code snippet is using the ConvertAPI Ruby Client: https://github.com/ConvertAPI/convertapi-ruby
# Code snippet is using the ConvertAPI Python Client: https://github.com/ConvertAPI/convertapi-python
// Code snippet is using the ConvertAPI Go Client: https://github.com/ConvertAPI/convertapi-go
REM Code snippet is using the command line utility program: https://github.com/ConvertAPI/convertapi-cli
<!-- For conversions with the multiple file result please refer to this example: https://repl.it/@ConvertAPI/HTML-Form-with-multiple-file-result -->