SecurePDF

The command SecurePDF can be used to digitally sign, encrypt, and set access controls on PDF documents generated with the command DocToPDF. The digital signature is based on a cryptographic certificate and can be used to validate the authenticity of the PDF document. Any changes made to the PDF document after it has been signed will invalidate the signature. Encryption restricts access to the protected document to users who have the appropriate password. The access controls restrict the ways in which the content of the PDF document can be manipulated by the reader.

Note

The command SecurePDF may only be used if you accept the terms of the ELECTRONIC END USER LICENSE AGREEMENT FOR AMYUNI DOCUMENT CONVERTER PRODUCTS AS INTEGRATED IN AIA SOFTWARE'S ITP/DOCUMENT SERVICES PRODUCT. These license terms will be presented to you during installation of ITP/Document Services and will be installed in the same folder as this manual (Amyuni License Terms.txt). Note, that if you decline these terms, the installer will not install the Amyuni driver software.

Syntax
SecurePDF
File(<text>)
CertificateName(<text>)
AllowPrint(<True or False>)
AllowCopy(<True or False>)
AllowChange(<True or False>)
AllowFieldAuthoring(<True or False>)
PermissionPassword(<text>)
OpenPassword(<text>)
Use40BitEncryption(<True or False>);
Parameters

File: Required.
The path and file name of the PDF file. This must be a PDF file on which none of the restrictions is set.

CertificateName: Optional (Default: the PDF file will be secured, but not signed).
The name of the stored certificate used for signing the PDF file. This is the name the certificate is issued to.

Note

The certificate must be installed in the Personal certificate store associated with the ITP/Server account.

AllowPrint: Optional (Default: False).
Specifies whether the file can be printed by users.

AllowCopy: Optional (Default: False).
Specifies whether the document content may be copied by users.

AllowChange: Optional (Default: False).
Specifies whether the document content can be changed by users.

AllowFieldAuthoring: Optional (Default: False (Users can still fill out the fields)).
Specifies whether Form Fields and comments may be added or changed.

PermissionPassword: Optional (Default: a random password, unknown to all).
Specifies the password that will be required to change access restrictions for the PDF file set with this command. If you do not specify a permission password, a random password will be used, that will be unknown to all.

Note

OpenPassword: Optional (Default: no password is needed to open the PDF).
If a non-empty string is given, this parameter is the password that must be used to open the document. If a password is set, ALL access to the document is prohibited without it.

The default is empty, which means that anyone can open the document (and at least view it).

Note

Security remarks

Use40BitEncryption: Optional (Default: False; 128-bit encryption is used).
When set to true 40-bit encryption is used. The 128-bit encryption is more secure, but incompatible with Acrobat 4 and earlier (PDF format version 1.3 and earlier).

Only set this parameter to True if users of the PDF file do not have access to Acrobat (Reader) 5 and up (or equivalent software).

Note

Starting from Amyuni PDF Converter version 4.0.0.8 (ITP/Server 3.5.7),this setting is no longer supported. Amyuni will always use the default, 128-bit encryption in that case.

Note

This command does not produce PDF/A-1b compliant documents, even when the input PDF document is PDF/A-1b compliant.