Share via


Protect a database by adding a database password

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

  1. Close the database. If the database is shared on a network, make sure all other users have closed the database.

  2. Make a backup copy of the database, and store it in a secure place.

  3. On the File menu, click Open.

  4. Click the arrow to the right of the Open button, and then click Open Exclusive.

  5. On the Tools menu, point to Security, and then click Set Database Password.

  6. In the Password box, type your password. Passwords are case-sensitive.

  7. In the Verify box, confirm your password by typing the password again, and then click OK.

    The password is now set. The next time you or any other user opens the database, a dialog box will be displayed that requests a password.

Caution

  • If you lose or forget your password, it can't be recovered, and you won't be able to open your database.

  • Do not use a database password if you will be replicating a database. Replicated databases can't be synchronized if database passwords are defined.

Notes

  • A database password is stored with the database and not with the workgroup information file.

  • You can't set a database password if user-level security has been defined for your database and you don't have Administer permission for the database. Also, a database password is defined in addition to user-level security. If user-level security has been defined, any restrictions based on user-level security permissions remain in effect.

  • If a table from a password-protected database is linked, the password is cached (saved) in the database it is linked to when the link is established. This may have unforeseen consequences. For more information, click aa831015(v=office.10).md.