Using the Encrypt document action

Use the Encrypt document action to encrypt a PDF file.

Procedure

To encrypt a PDF file, follow these steps:

  1. In the Actions palette, double-click or drag the Encrypt document action from the PDF package.
  2. In the PDF path, select one of the following options to specify the location of the PDF:
    • Control Room file: Enables you to select a PDF file that is available in a folder in the Control Room.
    • Desktop profile: Enables you to select a PDF file that is available on your device.
    • Variable: Enables you to specify the file variable that contains the location of the PDF file.
  3. Optional: In the User password or Owner password field, enter a password to restrict access to the encrypted PDF file.
    • User password: Allow users to perform specific operations on the encrypted PDF file.
    • Owner password: Allow users to use a password to open the file.
  4. In the User Permissions to Apply field, select the following operations:
    • Print: Allows users to print the document.
    • Modify: Allows users to edit the document.
    • Copy: Allows users to copy the document.
    • Form Fill: Allows users to fill a form in the document.
    • Document Assembly: Allows users to combine multiple PDF files, attach files, and so on.
    • Annotation: Allows users to apply annotations in the document.
    • Accessibility: Allows users to read text from the document using accessibility devices.
  5. In the Encryption level, select the RC4 40-bit, RC4 128-bit, or AES 128-bit option to specify the encryption level.
  6. In the Save encrypted PDF as field, specify a name and location for the encrypted file.
    You must include the .pdf extension in the name of the encrypted file. For example, if the file name is June_Quarter_report, the .pdf extension is June_Quarter_report.pdf.
  7. Select the Overwrite files with the same name check box to overwrite existing files with the same name.
    Note: If this option is not selected and the bot encounters a file with the same name at the specified location, the bot will fail.
  8. Optional: From the Assign PDF properties to a dictionary variable list, select a dictionary variable to hold the file properties.
  9. Click Save.