We are evaluating your product since it says it can do command-line password protecting of PDFs

We are evaluating your product since it says it can do command-line password protecting of PDFs.

We downloaded the product and tried it, but it did not restrict the opening of the output (supposedly password protected) PDF

This was the command we gave it:

pdftools -i filename.PDF -o filename_locked.PDF -S userpwd=abc -S keylen=2

It ran (with giving a message that an evaluation only process first half of pages)

but the resulting file filename_lockled.PDF opens WITHOUT the need of a password.

Are we doing something wrong on teh command line?

Customer
-----------------------------------------------------

image

Thanks for your message, we suggest you may download "VeryPDF PDF Toolbox Command Line for Windows" from this web page to try, "VeryPDF PDF Toolbox Command Line for Windows" works better than pdftools Command Line application,

https://www.verypdf.com/app/pdftoolbox/try-and-buy.html#buy
https://www.verypdf.com/dl.php?file=pdftoolbox_cmd_win.zip

after you download it, you can run following command line to encrypt your PDF file,

Encrypt a PDF using 128-bit strength:
pdftoolbox 1.pdf -outfile 1.128.pdf -ownerpassword foopass

Set an owner password and an user password to a PDF file:
pdftoolbox 1.pdf -outfile out.pdf -ownerpassword opwd -userpassword upwd

Enable High Quality Printing when encrypt a PDF file:
pdftoolbox 1.pdf -outfile out.pdf -ownerpassword opwd -userpassword upwd -permit printing

You may also look at following web page for more information about PDFToolbox Command Line software,

https://www.verypdf.com/wordpress/201505/pdftoolbox-command-line-options-encrypt-pdf-files-cross-merge-pdf-files-overlay-stamp-and-watermark-pdf-files-41661.html

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!