

Tuesday, 16:37 EST


In the office I often use different word processors and text writing software applications. The majority of my output files are generated by the nifty (especially for a long time Windows user) option "Print > Save to PDF". In a number of cases I needed a bit more private PDF documents, password protection would be just enough.
There are a number of tools like Adobe Acrobat that can set a password to a PDF file, but I really didn't want to spend a couple of hundred dollars. Besides that, my geek side wanted to get this passworded PDF option via some kind of a workaround.
In this article I will describe in detail how to create password protected PDF files on Mac OS X by using a freely available command line utility, as well as an Automator Workflow.
Googling the Web I found out an article by Masayuki Nii that created an application for Mac OS X Tiger. In a pretty straight forward way it used PDFKit for setting passwords and privileges to PDF documents. The software package will install a pdfauxinfo command line utility, as well as an Automator action called "Add Aux Info to PDF" that will be available under PDF actions of the Automator tool.
I will be covering both the Automator way of creating password protected PDF files, as well as using the pdfauxinfo command line utility for the same end result. My suggestion is to use the Automator action, as it can be very easily incorporated into a customizable Workflow.
Bonus information: Besides the password purposes I am focusing on in this article, pdfauxinfo can be used for some additional tasks such as setting up copy/print privileges and changing the PDF file author, creator and title. I just wanted to mention this, so you are not puzzled with some extra functions that can be seen on some of the screenshots.
After downloading and executing the package, pdfauxinfo is automatically installed to /usr/sbin/pdfauxinfo. Afterwards, you can move it to another location, but be advised that the Automator way of using the application will stop working.
The --help parameter will show you the program options:


1 | 2 | Next page >>
