Feb 14, 2014

How To Password Protect PDF's in Ubuntu

I mentioned a cool tool yesterday called pdftk that I use at my day job to merge multiple PDF documents into a single PDF. Well that isn't all pdftk can do! You can also use it to password protect PDF files for better security!

Let's say I have a PDF called sensitive.pdf with information I don't want anyone to see. I can protect it with a password by running the following command via the terminal:
#pdftk sensitive.pdf output protected.pdf user_pw SuperS3cr3tPW2014
If you aren't following the command above you input the original PDF (sensitive.pdf) and output a new PDF called protected.pdf and assign it the password SuperS3cr3tPW2014.

Now you can delete the original file and you can keep the new password protected PDF!

Do you do something else to password protect PDF's in Ubuntu? If so,  what do you use? Let us know in the comments!

Twitter Delicious Facebook Digg Stumbleupon Favorites More

Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | stopping spam