Please enable JavaScript to view this site.

Manual InterForm400 English 2023

Navigation: PDF output > PDF features

Protected PDFs

Scroll Prev Top Next More

It is possible to protect the PDF files created by InterForm400 with a password and limit the functionality of the created PDF files.

 

For this the Advanced PDF module is required, and Java 1.7 or higher also must be installed on the IBM i.

 

The functionality includes:

1.Encrypt and password protect PDF files created by InterForm400

2.Encrypt and password protect already existing PDF files (created by InterForm400) with the command APF3812/ENCIFPDF.

 

Adding a digital signature or encrypting (and password protecting) is possible no matter how you create PDF file with InterForm400 except through option '3. Merge spool entrywith overlay' of the InterForm400 Main Menu and the preview option (while designing an overlay).

 

You mainly encrypt the PDF file in order to prevent a third party from reading confidential information and/or to prevent the user from executing certain actions e.g. copy, edit or print the PDF file.

 

To encrypt the output PDF file you need to specify both a user password and an owner password. If only of the password are specified, then the PDF file is not encrypted.

 

When an encrypted PDF file is opened you are prompted for a password. If you type in the owner password, then the PDF file is opened with full, unlimited authority, if the user password is used, then you might have limited options as mentioned below under LIMITS.

 

You can encrypt PDF files, whenever you create a PDF file in InterForm400. That means in combination with these features:

 

 

The PDF file naming finishing definition:

In option 8. Encryption and Signature you can activate this and setup the owner password. In Option 6. Receipient ID Information you can manually set a PDF user password for each recipient/customer. In option 1. Receipient Key Definition you can setup a program, that is to return the PDF user password for each recipient/customer.

 

 

The E-mail finishing definition:

If you want to password protect the PDF files in the outgoing emails, then you activate and configure it via option 9. Encryption and Signature. The user passwords are setup via a user exit program in option 2. Key definition, where the formats 04 and higher can be used. Here you set the user password in the parameter, &RTNUSRPWD.

 

 

The APF3812/MRGSPLFPDF command:

Here the parameters below are used.

 

 

The Encrypt InterForm400 PDF file command (APF3812/ENCIFPDF):

The parameters below are used.

 

For all functions these fields are used:

 

ENCRYPT        

States if you want to encrypt the PDF file.

 

OWNERPWD

States the owner password of the PDF file. Requires that the ENCRYPT parameter is *YES. When you open the file with this password all is allowed. This is the same as 'Master password' in the PDF file naming and E-mail finishing definitions.

 

USERPWD        

The user password can be used to open an encrypted PDF file with the limitations specified in the LIMITS parameter

 

LIMITS

This specifies the limitations of the access to the PDF file when a user opens the PDF file (with the USERPWD password). Possible values are: *NOPRINT, *NOCOPY and *NOEDIT. Details for each value can be found on the email finish definition.