Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can we Password protect PDF files from Command Line?

Guest
Feb 10, 2016 Feb 10, 2016

Hi All,

I have a requirement where I need to password protect PDF files in background task. I have an option to call external OS commands from my system to run the tool on specific file.

Does Adobe Acrobat DC help in this? Can we execute from command line and make a PDF password protected?

Kindly advice,

Thank you,

Pallavi

TOPICS
Acrobat SDK and JavaScript , Windows
5.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 10, 2016 Feb 10, 2016

Adobe Acrobat doesn't have a command line option for this.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 30, 2023 Aug 30, 2023

Wow.  For what we pay for Adobe, there's no option to automate this task because there's no CLI.  Absolutely ridiculous.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 30, 2023 Aug 30, 2023

Is Word a command-line utility? Is Photoshop? Chrome?

Can you name any major application that is, beyond some basic commands like specifying a file-path or a URL to open? None of these applications offer such an interface.

A command-line utility is a very specialized type of tool, different from a GUI-based one, and usually developed for a more automated workflow. Such tools are usually developed for enterprise customers, not the general market.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 30, 2023 Aug 30, 2023
LATEST

PS. I could develop for you a command-line utility that encrypts PDF file(s) using a password and a specified policy, working independently of Acrobat, for a fee. You can contact me privately (via a PM) to discuss it further.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Feb 10, 2016 Feb 10, 2016

Look at the Actions feature in Acrobat XI and DC. You can't run it from the command line but from within Acrobat you can use it to batch-encrypt PDFs or to encrypt one PDF with a pre-determined password.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines