Blog Moved

This blog has been moved to a new URL. No further posts will be made to this blog.

Please click here to be taken to the corresponding post on the new blog. (This usually works. Some pages had their URLs changed. Sorry about those.)

Tuesday, January 21, 2014

Add a Password to a PDF

Silly reminder for self. To add a password to a PDF:
pdftk infile.pdf output outfile.pdf userpw password
Obviously, you need to install pdftk to do this.


Many places you see online say it has to be "user_pw", which is also what the pdftk manpage says, but the underscore appears to be optional.

No comments:

Post a Comment

Comments welcome, but they are expected to be civil.
Please don't bother spamming me. I'm only going to delete it.