PDFSecure: Command line PDF security and encryption

VeryUtils PDFSecure is an independent command line application, which provides users with an effective method to add, delete or change security settings on existing PDF documents or the entire document directory. PDFSecure can also be used to modify document information metadata and optimize files on the Web through a process called linearization.

https://veryutils.com/java-pdf-toolkit-jpdfkit

image

Like other VeryUtils products, PDFSecure does not rely on any other third-party software.

PDFSecure can also be used as a library component of the PDF SDK, it can be used from both client side and server-based applications.

Why choose PDFSecure?
* Encryption. PDFSecure supports industry standard PDF security (RC4 and AES).
* Effectiveness. PDFSecure is based on our PDF SDK, making it very fast and efficient.
* Support very large PDF documents.
* Built-in support for multi-threading makes PDFSecure very suitable for server-based multi-threaded applications.
* Support all PDF formats (PDF 1.0 to ISO32000) and Acrobat documents.

The main functions:
* Use AES (Advanced Encryption Standard) encryption and encryption filters to encrypt any PDF document.
* Use standard PDF 40 and 128 RC 4-bit encryption to encrypt any document.
* Modify security settings (for example, change passwords or security permissions).
* Completely delete the security of existing documents.
* A set of metadata for modifying document information, such as author, subject, title, keywords, etc.
* Linearize and optimize existing PDF documents to achieve "fast web viewing" function and faster download speed.
* Files damaged in the cross-reference table will be automatically repaired.
* Configuration files of commonly used options.
* Support automation and batch processing.

Common use case scenarios:
* On-demand encryption and decryption of server-based PDF documents based on specific security requirements.
* Batch processing requires a PDF collection of multiple documents with unified security and permission settings. PDFSecure is especially useful when assembling product catalogs, manuals and forms.
* Linearize existing PDF documents to achieve the "Quick Web View" function.

Supported operating system:
* Windows, Linux and Mac.

[ encrypt_40bit | encrypt_128bit ]
If an output PDF user or owner password is given, output PDF encryption strength defaults to 128 bits. This can be overridden by specifying encrypt_40bit.

[ allow < permissions > ]
Permissions are applied to the output PDF only if an encryption strength is specified or an owner or user password is given. If permissions are not specified, they default to ’none’, which means all of the following features are disabled.

The permissions section can include one or more of the following features:
* Printing – Top Quality Printing
* DegradedPrinting – Lower Quality Printing
* ModifyContents – Also allows Assembly
* Assembly
* CopyContents – Also allows ScreenReaders
* ScreenReaders
* ModifyAnnotations – Also allows FillIn
* FillIn
* AllFeatures – Allows the user to perform all of the above, and top quality printing.

[ owner_pw < owner password | PROMPT > ]

[ user_pw < user password | PROMPT > ]
If an encryption strength is given but no passwords are supplied, then the owner and user passwords remain empty. This means that the resulting PDF can be opened and its security parameters altered by anybody.

Some sample command lines,

-- Decrypt a PDF
java -jar jpdfkit.jar sample_secured.pdf input_pw 456 output _unsecured.pdf

-- 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

No votes yet.
Please wait...

Related Posts

Leave a Reply

Your email address will not be published.