IT tutorials
 
Office
 

Microsoft Access 2010 : Protect Databases - Assigning Passwords to Databases

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Product Key Free : Microsoft Office 2019 – Serial Number
12/7/2011 5:51:32 PM
You can prevent unauthorized users from opening a database by assigning it a password. Then Access prompts anyone attempting to open the database to enter the password, and will open it only if the password is correct.

To assign a password to or remove a password from a database, you must first open the database for exclusive use, meaning that no one else can have the database open. This will not be a problem for a database stored on your local computer and used only by you, but if you want to set or remove a password for a database that is located on a network, you will first need to make sure nobody else is using it.

You can use any word or phrase as a database password, but to create a secure password, keep the following in mind:

  • Passwords are case sensitive.

  • You can include letters, accented characters, numbers, spaces, and most punctuation marks.

A good password includes uppercase letters, lowercase letters, and symbols or numbers, and isn’t a word found in a dictionary.

Assigning a password to a database has an important secondary benefit. A database created in Access is a binary file (a file that stores instructions and data in such a way that it can usually be understood only by a computer). If you open the file in a word processor or a text editor, its content is mostly unreadable, but if you look closely enough at the file, you can discover quite a bit of information. It is unlikely that enough information will be exposed to allow anyone to steal anything valuable. However, people can and do scan files with computer tools designed to look for key words that lead them to restricted information. When you assign a password to a database, the database is automatically encrypted each time it is closed, making it really unreadable. Opening the file in Access with the correct password decrypts the file and makes its data readable again.

A caveat: It is easy to assign a database password, and certainly better than providing no protection at all, in that it keeps most unauthorized people out of the database. However, many inexpensive password recovery utilities are available, theoretically to help people recover a lost password. Anyone can buy one of these utilities and "recover" the password to your database. Also, because the same password works for all users (and nothing prevents one person from giving the password to many other people), simple password protection is most appropriate for a single-user database.

In this exercise, you’ll assign a password to a database, test it, and then remove it.



  1. With Access running but no database open, display the Backstage view, and in the left pane, click Open.

  2. In the Open dialog box, navigate to your practice file folder, and click (don’t double-click) the GardenCompany12 database. Then click the Open arrow, and in the list, click Open Exclusive.

    Access opens the database for your exclusive use. (In other words, if the database were shared with other users, no one else would be able to open it until you closed it.)

  3. Display the Backstage view, and if the Info page is not displayed, click Info in the left pane.

    From this page, you can run utilities to help prevent database problems, assign a password, and assign file properties that help identify the file.

    The Info page of the Backstage view.


    Tip:

    Tip

    Clicking View And Edit Database Properties in the right pane doesn’t display the Property Sheet. It displays the GardenCompany12.accdb Properties dialog box, where you can assign properties to the file, such as a title, subject, and keywords, that help identify it and make it easier to find in browsing dialog boxes and programs such as Windows Explorer.


  4. Click Encrypt with Password.

    The Set Database Password dialog box opens.

    In this dialog box, Access will disguise the characters of the password as asterisks as you type them.

  5. In the Password box, type 2010D@t@b@se!, and then press the Tab key.

  6. In the Verify box, type 2010D@t@b@se!. Then click OK.

    Access displays a message box warning that row-level locking will be ignored.

    Row-level locking is one of the settings that prevent two people from making changes to the same record (row) at the same time.


    Tip:

    Tip

    If you have not enrolled in the Microsoft Customer Experience Improvement Program, you will not see the Was This Information Helpful link.


  7. Click OK to close the message box, and then close and reopen the database.

    The Password Required dialog box opens.

    You cannot work with the database unless you know the password.

  8. In the Enter database password box, type 2010_D@tabase, and then click OK.

    A message box opens.

    Access warns that the password is not valid.

  9. In the message box, click OK.

  10. When the Password Required dialog box is redisplayed, type the correct password, 2010D@t@b@se!, and then click OK.

    The database opens. Now let’s remove the password.

  11. Display the Info page of the Backstage view, and click Decrypt Database.

    Oops! The password cannot be removed unless the database is open for exclusive use.

  12. Close the database, and then open it for exclusive use, entering the password when prompted.

  13. On the Info page of the Backstage view, click Decrypt Database. Then in the Unset Database Password dialog box, enter the password, and click OK.

    Access removes the password, allowing anyone to open the database.


 
Others
 
- Microsoft Access 2010 : CREATING SCHEMA WITH ADOX
- Microsoft Word 2010 : Setting Advanced Save Options
- Microsoft Word 2010 : Changing Default Text and Page Settings
- Microsoft PowerPoint 2010 : Modifying and Enhancing Shapes (part 2)
- Microsoft PowerPoint 2010 : Modifying and Enhancing Shapes (part 1) - Specifying Shape Fill Color
- Microsoft PowerPoint 2010 : Working with Shapes - Inserting Shapes
- Microsoft Excel 2010 : Using Excel with the Normal Distribution - Excel Functions for the Normal Distribution
- Microsoft Excel 2010 : Using Excel with the Normal Distribution - About the Normal Distribution
- Microsoft Outlook 2010 : Managing a Calendar - Printing Calendars
- Microsoft Outlook 2010 : Managing a Calendar - Sharing Calendar Information
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us