Password protect a pdf file in linux using pdftk

Email this to someoneShare on Google+Share on FacebookTweet about this on TwitterShare on LinkedIn


You have a pdf file with sensitive information and you want to protect it with a password.


Install the pdftk if you haven’t already in your system:

And then run the following to prompt for a password before opening the file: