Problem
You have a pdf file with sensitive information and you want to protect it with a password.
Solution
Install the pdftk if you haven’t already in your system:
sudo apt-get install pdftk
And then run the following to prompt for a password before opening the file:
pdftk original.pdf output pswd_protected.pdf user_pw PROMPT