Open the document you want to publish to PDF.
Click the File tab at the upper left corner of the window.
Click Save as.;
, You can rename your file if you want.


On the new mini window, go to Save as type option.
Select PDF.
 Another mini window will appear.


Check the dialog box beside Encrypt the document with a password at the bottom of that window.
Select OK.
 It should have between 6 and 32 characters.


Enter a new password you can easily remember.
Re-enter the same password in the next box.
Select OK when done.
Open your .doc / .xlsx / .pptx file.
Change the file type to PDF.
Click on Options.
Enter your password.
{"src": "wikihow-all_validation", "title": "How to Publish a PDF with Password Encryption"}