microsoft.com Home  
Microsoft
http://www.microsoft.com/office/ork  
Microsoft Office 2000 Resource Kit Home
 Managing and Supporting Office 2000
 Ongoing Configuration of Office on Users' Computers
 Helping Users Help Themselves
 Managing Security
Protecting Against Micro Viruses
Protecting Excel and Word Documents
Using Security Features in Access
Using Security Features in FrontPage
Using Security Features in Outlook
 Overview of Tools and Utilities
Glossary
Index
Protecting Excel and Word Documents

Protecting Excel Workbooks

Microsoft Excel supports three levels of workbook file protection. The user who creates a workbook has read/write permission to a workbook and controls the protection level. The three levels of workbook protection are:

  • File open protection

    Excel requires the user to enter a password to open a workbook.

  • File modify protection

    Excel requires the user to enter a password to open the workbook with read/write permission. The user can click Read Only at the prompt, and Excel opens the workbook read-only.

  • Read-only recommended protection

    Excel prompts the user to open the workbook as read-only. If the user clicks No at the prompt, Excel opens the workbook with read/write permission, unless the workbook has other password protection.

Excel encrypts password-protected workbooks by using the symmetric encryption routine known as 40-bit RC4. Because protected workbooks are encrypted, they are not indexed by Find Fast or by the Microsoft Office Server Extensions (OSE) search feature.

Note   Strong encryption such as RC4 is banned in France. If a user’s locale setting in Regional Settings in Control Panel is set to French (Standard), that user is not able to open an Office document that is password protected. Nor can the user save an Office document with RC4 encryption. The user can, however, use XOR encryption by saving an Office document with password protection.

In addition to protecting an entire workbook, you can also protect specific elements from unauthorized changes. This method is not as secure as using a password to protect the entire workbook because Excel does not use encryption when you protect only specific elements.

For example, cells that are hidden on a protected worksheet can be viewed if a user copies across a range on the protected worksheet that includes the hidden cells, opens a new workbook, pastes, and then uses the Unhide command to display the cells.

Tip   To ensure the strongest security on a workbook, use a password to protect the entire workbook.

The specific elements that you can protect in a workbook include the following:

  • Structure of a workbook

    Worksheets and chart sheets in a protected workbook cannot be moved, deleted, hidden, unhidden, or renamed, and new sheets cannot be inserted.

  • Windows in a workbook

    Windows in a protected workbook cannot be moved, resized, hidden, unhidden, or closed. Windows in a protected workbook are sized and positioned the same way each time the workbook is opened.

  • Cells on a worksheet or items on a chart sheet

    Contents of protected cells on a worksheet cannot be edited. Protected items on a chart sheet cannot be modified.

  • Graphic objects on a worksheet or chart sheet

    Protected graphic objects cannot be moved or edited.

  • Formulas on a worksheet

    Protected formulas cannot be edited.

    Tip   You can also hide a formula so that it does not appear in the formula bar but the formula results appear in the cell.

  • Scenarios on a worksheet

    Definitions of protected scenarios cannot be changed.

  • Change histories of shared workbooks

    Protected change histories cannot be cleared by the user of a shared workbook or by the user of a copy of a workbook that is to be merged.

Caution   If a user assigns password protection to a workbook and then forgets the password, you cannot open the workbook, gain access to its data in another workbook through links, remove protection from the workbook, or recover data from the workbook. Advise your users to keep a list of passwords and corresponding workbook, worksheet, and chart sheet names in a safe place.


Topic Contents
Next

Topic Contents   |   Next   |   Top

  Friday, March 5, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of use.

License