Hello, I would like to encrypt my PDF files on the Linux server, our workflow works by following steps,
1. Convert smart form (this is the form in SAP) to OTF format.
2. Convert OTF to PDF and encrypt PDF files on Linux Server.
3. Send PDF file by email.
this is our process. I need
>>sorry I am explaining to you our process.
>>1. Convert smart form (this is the form in SAP) to OTF format
>>2. convert OTF to PDF
>>3. send mail.
>>this is our process. I need at step 2. I need to encrypt without downloading the file.
Thanks for your message, yes, this is possible.
May I know where are your PDF files? are these PDF files exist on the server? if yes, you needn't download the PDF files to local disk, you can simple run Java PDF Toolkit (jpdfkit) on your server to encrypt PDF files inside your server, you may download the trial version of "Java PDF Toolkit (jpdfkit)" from this web page to try,
Java PDF Toolkit (jpdfkit) is a .jar application, you can call it from your code using Command Line operation, such as,
-- Encrypt a PDF using 128-bit strength
java -jar jpdfkit.jar sample_verypdf.pdf output _encrypted.128.pdf owner_pw 123
-- Set both owner password and open password to a PDF file
java -jar jpdfkit.jar sample_verypdf.pdf output _encrypted_both.pdf owner_pw 456 user_pw 123
-- Enable High Quality Printing when encrypt a PDF file
java -jar jpdfkit.jar sample_verypdf.pdf output _encrypted_highprinting.pdf owner_pw 456 user_pw 123 allow printing
If you encounter any problem with "Java PDF Toolkit (jpdfkit)" product, please feel free to let us know, we are glad to assist you asap.