How to Password Protect Documents and PDFs with Microsoft Office

how-to-password-protect-documents-and-pdfs-with-microsoft-office photo 1

Microsoft Office lets you encrypt your Office documents and PDF files, allowing no one to even view the file unless they have the password. Modern versions of Office use secure encryption that you can rely on–assuming you set a strong password.

The instructions below apply to Microsoft Word, PowerPoint, Excel, and Access 2016, but the process should be similar in other recent versions of Office.

RELATED ARTICLEShow-to-password-protect-documents-and-pdfs-with-microsoft-office photo 2What is Encryption, and Why Are People Afraid of It?how-to-password-protect-documents-and-pdfs-with-microsoft-office photo 3How to Enable Full-Disk Encryption on Windows 10

How Secure Is Microsoft Office’s Password Protection?

Microsoft Office’s password-protection features have gotten a bad rap in the past. From Office 95 to Office 2003, the encryption scheme was very weak. If you have a document password-protected with Office 2003 or an earlier version, the password can be easily and quickly bypassed with widely available password cracking software.

With Office 2007, Microsoft got more serious about security. Office 2007 switched to the Advanced Encryption Standard (AES) with a 128-bit key. This is widely considered secure, and means that Office now uses real, strong encryption to protect your documents when you set a password. We tested the PDF encryption feature and found that it uses 128-bit AES encryption on Office 2016, too.

There are two big things you need to watch out for. First, only passwords that fully encrypt the document are secure. Office also allows you to set a password to “Restrict Editing” of a file–in theory, allowing people to view a file but not edit it without a password. This type of password can be easily cracked and removed, allowing people to edit the file.

Also, Office’s encryption only works well if you’re saving to modern document formats like .docx. If you save to older document formats like .doc–which are compatible with Office 2003 and earlier–Office will use the older, not-secure version of the encryption.

But, as long as you’re saving your files in modern Office formats and using the “Encrypt with Password” option instead of the “Restrict Editing” option, your documents should be secure.

How to Password Protect an Office Document

To password protect an Office document, first open it in Word, Excel, PowerPoint, or Access. Click the “File” menu at the top-left corner of the screen. On the Info pane, click the “Protect Document” button and select “Encrypt with Password.”

The button is only named “Protect Document” in Microsoft Word, but it’s named something similar in other apps. Look for “Protect Workbook” in Microsoft Excel and “Protect Presentation” in Microsoft PowerPoint. In Microsoft Access, you’ll just see a an “Encrypt with Password” button on the Info tab. The steps will otherwise work the same.

NOTE: If you only want to restrict editing of the document, you can choose “Restrict Editing” here, but as we said, that is not very secure and can easily be bypassed. You’re better off encrypting the entire document, if you can.

how-to-password-protect-documents-and-pdfs-with-microsoft-office photo 4

Enter the password you want to encrypt the document with. You’ll want to choose a good password here. Weak passwords can be easily guessed by cracking software if someone gains access to the document.

Warning: You’ll lose access to the document if you ever forget your password, so keep it safe! Microsoft advises you write down the name of the document and its password and keep it in a safe place.

how-to-password-protect-documents-and-pdfs-with-microsoft-office photo 5

When a document is encrypted, you’ll see the “A password is required to open this document” message on the Info screen.

The next time you open the document, you’ll see an “Enter password to open file” box. If you don’t enter the correct password, you won’t be able to view the document at all.

how-to-password-protect-documents-and-pdfs-with-microsoft-office photo 6

To remove the password protection from a document, click the “Protect Document” button and select “Encrypt with Password” again. Enter a blank password and click “OK.” Office will remove the password from the document.

How to Create a Password Protected PDF File

You can also export an Office document to a PDF file and password protect that PDF file. The PDF document will be encrypted with the password you provide. This works in Microsoft Word, Excel, and PowerPoint.

To do this, open the document, click the “File” menu button, and select “Export.” Click the “Create PDF/XPS” button to export the document as a PDF file.

how-to-password-protect-documents-and-pdfs-with-microsoft-office photo 7

Click the “Options” button at the bottom of the save dialog window that appears. At the bottom of the options window, enable the “Encrypt the document with a password” option and click “OK.”

how-to-password-protect-documents-and-pdfs-with-microsoft-office photo 8

Enter the password you want to encrypt the PDF file with and then click “OK.”

When you’re done, enter a name for the PDF file and click the “Publish” button. Office will export the document to a password-protected PDF file.

Warning: You won’t be able to view the PDF file if you forget the password. Be sure to keep track of it or you’ll lose access to your PDF file.

how-to-password-protect-documents-and-pdfs-with-microsoft-office photo 9

You’ll have to enter the PDF file’s password when you open it. For example, if you open the PDF file in Microsoft Edge–Windows 10’s default PDF viewer–you’ll be asked to enter the password before you can view it. This also works in other PDF readers.

how-to-password-protect-documents-and-pdfs-with-microsoft-office photo 10


This feature can help protect particularly sensitive documents, especially when you store them on a USB drive or in an online storage service like Microsoft OneDrive.

Full-disk encryption like Device Encryption and BitLocker on a Windows PC or FileVault on a Mac is more secure and painless for protecting all the documents on your computer, however–particularly if your computer is stolen.

Article How to Password Protect Documents and PDFs with Microsoft Office compiled by Original article here

More stories

How to Route All Your Android Traffic Through a Secure Tunnel

There are few security problems a healthy dose of paranoia and know-how can’t take care of. Today we’re looking at how to secure your Android phone’s mobile data connection against intrusion using free software and a simple SSH tunnel.

How to Send Large Files Over Email

Many email servers refuse to accept email attachments over 10MB in size. While attachment sizes haven’t kept up with the times, there are other easy ways to send someone large files over email.

If You Haven’t Tried a Mechanical Keyboard Yet, You’re Missing Out

Mechanical keyboards are all the rage these days. Hardcore gamers and long-haul coders alike are flocking away from traditional membrane-based keyboards in favor of their more clicky-clacky competition. If you still haven’t hopped on the bandwagon, here’s everything you need to know.

How to Stop Windows 10 From Asking You For Feedback

Windows 10 doesn’t just automatically collect information about your computer usage. It does do that, but it may also pop up from time to time and ask for feedback. Here’s how to disable any Windows Feedback pop-up notifications you may see.