Question:I'm looking for a way to set password to protect PDF files on the fly without having to store the user's password in plaintext.What I would like to do is to generate the user and owner keys according to the PDF specification and use those to encrypt the document's strings and streams. Just to clarify, what I want to do is allow the user to enter their password into the system once, then any time after that to be able to VeryPDF?file with the key generated from that password. Is there any solution on
Answer: Now VeryPDF PDF Encryptor Cloud API can help you to protect PDF on the fly without having to store the user's password in plaintext. But this is cloud API application, there is no library here. And when you use this software, you do not need complicated steps, simply specify the password in the URL then you can successfully. And the code will be shown in the URL. And VeryPDF PDF Encryptor Cloud API is cloud based application, you can use this software at any platform only where there is web net connection. Please check more information of this software on homepage, in the following part, let us check how use this software.
Step 1. Register an account of cloud API application.
- If you already have been an user of VeryPDF cloud API, by the API code you have, you can free use this software without any limitation. If you are not, please register an account on registration page then when you became an user of cloud API, the code will be sent to your email box at once.
- By the API code, you can access all of VeryPDF Cloud APIs, include 20+ APIs and 200+ parameters.
Step 2. Protect PDF on the fly without compromising password.
- When you use this software, please refer to the following URL.
By this above URL, we can encrypt PDF both by user password and owner password. Meanwhile you can allows the following limitations like modify content, copy content, screen reader, modify annotations and others. The user password is 123, and the owner password is 456.
When you use this software, please change the API code to the real code in your email box and change the online PDF URL to the real PDF you need to encrypt.
Simply copy the URL to any browser and then press enter on the keyboard, you can find and URL of the output encrypt PDF. Simply copy its link to browser then you can download the PDF successfully.
By this software, you can encrypt PDF on the fly easily. During the using, if you have any question, please contact us as soon as possible.