Microsoft Access
  Home arrow Microsoft Access arrow Page 6 - Securing and Administering Access
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Moblin 
JMSL Numerical Library 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MICROSOFT ACCESS

Securing and Administering Access
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 13
    2004-09-14

    Table of Contents:
  • Securing and Administering Access
  • Secure the Database with the User-Level Security Wizard
  • Groups
  • Add, Edit, and Remove Users
  • Save or Print the Security Report
  • Apply Global Database Protection to a Database
  • Remove Database Objects from View
  • Back Up and Restore a Database
  • Back Up Individual Database Objects
  • Database Administration
  • Compact and Repair a Database

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Securing and Administering Access - Apply Global Database Protection to a Database


    (Page 6 of 11 )

    Access offers several less comprehensive methods of securing a database and its objects. For example, you can require a password to open the database, and you can hide specifi c objects from user view. In addition, there are methods to create backup copies of the database and to improve performance by optimizing disk space usage.


    Use a Database Password

    A database password only protects a database from being opened by someone who doesn’t know the password. Anyone who knows the password can open the database. Once the database is open, the user can do anything with it.

    Assign a Password
    You must have exclusive use of the database to assign a password.

    To add a password, make sure all users have closed the database, then:

    1. Click File | Open. In the Open dialog box, select the database, click the Open down arrow, and choose Open Exclusive.

    2. Click Tools | Security | Set Database Password.

      Securing the Access Database

       
    3. Type the password in the Password text box.

    4. Repeat the password in the Verify text box, and then click OK. (If the entries don’t match, Access will ask you to reenter the password in the Verify box. Do so, and click OK.)

    The next time you try to open the database, you will be asked for the password.

    Securing the Access Database

    Some basic guidelines for creating a password include:

    • Create a password that combines uppercase and lowercase letters with numbers and symbols. This builds a “strong” password. For example, “67TrCg!89sdJ” is a strong password, while “MyFavoriteCat” is not.

    • Never use a word that appears in the dictionary.

    • Do not use the special characters that have a special meaning in Access: “ \ [ ] : | < > + = ; , . ? *.

    CAUTION  Don’t forget your password. You won’t be able to open the database without it. To be safe, write it down and store it in a safe place.

    Remove a Password


    To remove the requirement for a password:

    1. Open the database in Exclusive mode.

    2. Choose Tools | Security | Unset Database Password.

    3. Enter the password and click OK.

    Encode/Decode a Database


    An encoded database is compacted and unreadable by any word processor or other utility program. You still have access to an encoded database and can work with it as usual. When you decode an encoded database, it returns to its original form.

    The database must be closed before you can encode it. You must be the owner of the Workgroup Information File and be able to open it in Exclusive mode. In addition, your disk must have enough free space for both the original database and the encoded copy.

    TIP  Always make a backup of your database before adding a password. Store the backup in a secure place.

    To encode a database:

    1. In the empty Database window, click Tools | Security | Encode/Decode Database.

    2. Select the database in the Encode/Decode Database dialog box, as shown in Figure 9-9, and click OK.

      Figure 9-9: You can encode a database to make it
      unreadable by programs other than Access.
      Securing the Access Database


    3. In the Encode Database As dialog box, specify the location where you want to save the encoded database, and click Save.

    To decode the encoded database, repeat steps 1 and 2 above, and then specify the name and location in the Decode Database As dialog box. Click OK.

    CAUTION  You can have problems if you link a table in a password protected database to an unprotected database. The password for the protected database is stored with the linking information passed to the second database. Any user who can open the unprotected database also has access to the linked table in the protected database.

    This chapter is from Microsoft Office Access 2003 QuickSteps, by Cronan, Anderson, and Anderson (McGraw-Hill/Osborne, 2004, ISBN: 0072232293). Check it out at your favorite bookstore today.

    Buy this book now.

    More Microsoft Access Articles
    More By McGraw-Hill/Osborne


       · some time ago it was said that the workgroup file is needed to break into a secured...
       · I\'m not sure about Access2003... but every other version of access that uses the...
     

    MICROSOFT ACCESS ARTICLES

    - Linking SQL Express 2005 Tables to MS Access...
    - Working with Access Projects in Access 2007
    - Exploring Access 2007
    - Working with Stored Procedures in an MS Acce...
    - Creating and Using Action Queries
    - Creating Data Access Pages with Charts using...
    - Advanced Ideas using VBA
    - VBA Details
    - Updating Records in MS Access
    - Using ADO`s Record Object with URLs
    - Exporting XML from MS Access 2003
    - Importing XML into MS Access 2003
    - On Using Pass-through Queries in MS Access
    - Distributed Queries in MS Access
    - Configuring a Linked Microsoft Access Server...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway