Password Protecting Documents

Help protect a sensitive or confidential document from unwanted users by assigning a password.

 
  1. Click File > Info > Protect Document > Encrypt with Password.

    Encrypt with Password. Screenshot of the Protect Document button highlighted in the Microsoft Word Info menu. The Encrypt with Password option is selected. 
     
  2. In the Encrypt Document box, type a password, and then click OK.
  3. In the Confirm Password box, type the password again, and then click OK.
  1. Open the document and enter the password given to you by the creator and then click OK.

    Password Prompt. Screenshot of the password prompt requiring the user to enter password to open file. 
     

Note: Do not send the password for an encrypted file along with the file itself. For example, if you are sharing an encrypted file through an e-mail message, use a different means of communicating the password to the recipient, such as text or phone call.

To change a document's password, you first need to open it with the original password. Once it's open, give it a new password.

  1. Open the document and enter the original password.
  2. Click File > Info > Protect Document > Encrypt with Password.

    Encrypt with Password. Screenshot of the Protect Document button highlighted in the Microsoft Word Info menu. The Encrypt with Password option is selected. 
     
  3. In the Encrypt Document box, type a password, and then click OK.
  4. In the Confirm Password box, type the password again, and then click OK.

Removing a password from a document is a simple process, but you have to know the original password. (The way to remove the password is the same process as creating a password and changing it, too.)

  1. Open the document and enter its password.
  2. Click File > Info > Protect Document > Encrypt with Password.

    Remove a password. Screenshot of the Protect Document button highlighted in the Microsoft Word Info menu. The Encrypt with Password option is selected. 
     
  3. Clear the password in the Password box, and then click OK.

You can protect your Excel file with a password to prevent others from accessing data in your Excel files. This topic covers the two different ways you can protect an Excel file — using encryption, and then setting a password to open/modify an Excel file.

Note: This topic covers file-level protection only, and not workbook or worksheet protection.

Encrypt an Excel file

Follow these steps to encrypt an Excel file:

  1. Click File > Info > Protect Workbook > Encrypt with Password.
  2. Enter a password, and click OK.

    Encrypt Document. Encrypt document box requiring user to enter passord 
     
  3. In the Confirm Password dialog box, reenter the password you entered in the previous step.
    When you/another user tries to open the file, the following screen appears:

    Password. Dialogue box requiring password 
     
  4. To save the password, save the file.

Set a password to allow reading or modifying

You can set two passwords on the file - one to open the file as read-only, and the other to modify. Then you can share the appropriate passwords with the users depending on the access level they should have.

Read-only access does not prevent someone from making changes to a file, but it does prevent them from saving those changes unless they rename the file and save it as something other than the original. For users who need to be able to modify the file, you will have to share both open and modify passwords.

Follow these steps to set a password to open/modify an Excel file:

  1. In the Excel file, click File > Save As.
  2. Click a location, such as Computer or your My Site web page.
  3. Click a folder, such as Documents or one of the folders on your OneDrive, or click Browse.
  4. In the Save As dialog box, go to the folder you want to use, then click Tools and then click General Options.

    Save As Dialog Box. Screenshot of Save As dialog box, The General options is selected. 
     
  5. You can specify one or both passwords here, one to open the file, another to modify the file, depending on your requirements.

    General Options dialog box. Screenshot of the General Options dialog box 
     

  6. Click Save.
    When someone tries to open this file, Excel prompts for a password.

    Password dialog box. Screenshot of the Password dialog box. OK is highlighted
     

    A second screen shows if there is a password to modify the file. Users who don’t have the modify password can click Read Only and start viewing the contents of the file.

     Password dialog box. Screenshot of the Password dialog box. Read Only is highlighted 
     

Remove password encryption:
To remove password encryption from the file, open the workbook and enter the password in the Password box. Then click File > Info > Protect Workbook > Encrypt with Password. Delete the contents of the Password box, click OK, and then save the file again.

Help protect a sensitive or confidential presentation from unwanted edits by assigning a password. You can also prevent a presentation from being opened.

  1. Click File > Info > Protect Presentation > Encrypt with Password
  2. In the Encrypt Document box, type a password, and then click OK.
  3. In the Confirm Password box, type the password again, and then click OK.
  • In an open presentation, click File > Info > Protect Presentation.
    You see the following options.

    Protect Presentation. Protect Presentation button with options  
     
    Click Encrypt with Password. Delete the contents of the Password box, click OK, and then save the presentation.
  1. Open the PDF and choose Tools > Protect > Encrypt > Encrypt with Password.
  2. If you receive a prompt, click Yes to change the security.
  3. Select Require A Password To Open The Document, then type the password in the corresponding field. For each keystroke, the password strength meter evaluates your password and indicates the password strength.

    Document Open Dialog Box. Select Require a Password to Open the DocumentPassword Security - Settings let you set a password to open a PDF
  4. Select an Acrobat version from the Compatibility drop-down menu. Choose a version equal to or lower than the recipients’ version of Acrobat or Reader.

     Compatibility drop-down menu. Options control compatibility with previous versions and type of encryption 

    Options control compatibility with previous versions and type of encryption

    The Compatibility option you choose determines the type of encryption used. It is important to choose a version compatible with the recipient's version of Acrobat or Reader. For example, Acrobat 7 cannot open a PDF encrypted for Acrobat X and later.
    • Acrobat 6.0 And Later (PDF 1.5) encrypts the document using 128-bit RC4.
    • Acrobat 7.0 And Later (PDF 1.6) encrypts the document using the AES encryption algorithm with a 128-bit key size.
    • Acrobat X And Later (PDF 1.7) encrypts the document using 256-bit AES. To apply 256-bit AES encryption to documents created in Acrobat 8 and 9, select Acrobat X and Later.
  5. Select an encryption option:
    • Encrypt All Document Contents
      Encrypts the document and the document metadata. If this option is selected, search engines cannot access the document metadata.
    • Encrypt All Document Contents Except Metadata
      Encrypts the contents of a document but still allows search engines access to the document metadata.
    • Encrypt Only File Attachments
      Requires a password to open file attachments. Users can open the document without a password. Use this option to create security envelopes.
  6. Click OK. At the prompt to confirm the password, retype the appropriate password in the box and click OK.
  7. Save the document

You can remove security from an open PDF if you have the permissions to do so.

  1. Open the PDF, then select Tools > Protect > Encrypt > Remove Security.
  2. Your options vary depending on the type of password security attached to the document:
    • If the document had only a Document Open password, click OK to remove it from the document.
    • If the document had a permissions password, type it in the Enter Password box, and then click OK. Click OK again to confirm the action.
  3. Save the Document
  • IT can’t retrieve forgotten passwords. It might be a good idea to keep a copy of your password in a safe place or create a strong password that you’ll remember.
  • There are no restrictions on the passwords you use with regards to length, characters or numbers, but passwords are case-sensitive. Make sure that the Caps Lock key is turned off when you enter a password for the first time.
  • It’s not always secure to distribute password-protected files that contain sensitive information such as credit card numbers.
  • Be cautious when sharing files or passwords with other users. You still run the risk of passwords falling into the hands of unintended users. Remember that locking a file with a password does not necessarily protect your file from malicious intent.