Wednesday, January 16, 2008

How to Add the Encrypt PDF Context Menu Item?

Make sure you have downloaded pdftk

Windows XP and Windows 2000:

  1. In the Windows File Explorer menu, select Tools > Folder Options . . . and click the File Types tab. Select the PDF file type and click the Advanced button.
  2. Click the New . . . button and a New Action dialog appears. Give the new action the name Encrypt.
  3. Give the action an application to open by clicking the Browse . . . button and selecting cmd.exe, which lives somewhere such as C:\windows\system32\ (Windows XP) or C:\winnt\system32\ (Windows 2000).
  4. Add these arguments after cmd.exe, changing the path to suit, like so:

  5. C:\windows\system32\cmd.exe

    /C C:\windows\system32\pdftk.exe "%1" output "%1.encrypted.pdf"

    encrypt_128bits user_pw PROMPT

  6. Click OK, OK, OK and you should be done with the configuration.

2 comments:

Rights Management PDF said...

Hi,

PDF encryption software is user friendly tool, use the wide variety of tools to add text, graphics, shapes, barcodes, shadows and other effects to your design. It gives a new stylish look. Thanks a lot.

Betty said...

I am not having the file that you have mentioned. First I need to have that file to successfully execute all these steps. Please do share that also.
electronic signature pdf