Database user accounts provide specific privileges to individuals to access information and resources in the database. A group account contains a number of user accounts and provides a means of controlling and managing the permissions and access of this group to the objects in the database.
Create a security administrator account
To complete this procedure, you must be logged on as a member of the Admins group.
How?
A Microsoft Access workgroup information file contains a list of users who share data, also know as a workgroup. Users' passwords are also stored in the workgroup information file. To control who has access to your database, you must create a new workgroup information file.
Caution Be sure to write down your exact name, organization, and workgroup ID ù including whether letters are uppercase or lowercase (for all three entries) ù and keep them in a secure place. If you have to re-create the workgroup information file, you must supply exactly the same name, organization, and workgroup ID. If you forget or lose these entries, you can't recover them and might lose access to your databases.
The new workgroup information file is used the next time you start Microsoft Access. Any user and group accounts or passwords that you create are saved in the new workgroup information file. To have others join the workgroup defined by your new workgroup information file, copy the file to a shared folder (if you didn't already save it in a shared folder in step 5), and then have each user run the Workgroup Administrator to join the new workgroup information file.
Important To make sure your database is completely secure, don't use the default workgroup defined by the workgroup information file that was created when you installed Microsoft Access. You should make sure the workgroup information file that defines the workgroup you are using has been created with a unique workgroup ID (WID), and, if not, you should create a new file.
Guidelines for passwords
User names can range from 1 to 20 characters, and can include letters, accented characters, numbers, spaces, and symbols, with the following exceptions:
- The characters " \ [ ] : | < > + = ; , . ? *
- Leading spaces
- Control characters (ASCII 10 through ASCII 31)
Note Passwords are case-sensitive.
Caution Be sure to write down the exact account name and PID entries, including whether letters are uppercase or lowercase, and keep them in a secure place. If you ever have to re-create the account, you must supply the same name and PID entries. If you forget or lose these entries, you can't recover them.
Notes
Microsoft Access adds the new administrator account to the Admins group and displays Admins in the Member Of box.
Create a security user account
To complete this procedure, you must be logged on as a member of the Admins group.
Note It is usually easier to manage security if you organize users into groups, and then assign permissions to groups rather than to individual users.
Important The accounts you create for users must be stored in the workgroup information file that those users will use. If you're using a different workgroup to create the database, change your workgroup before creating the accounts. You can use the Workgroup Administrator (point to Security on the Tools menu) to find out which workgroup information file is currently in use.
Caution Be sure to write down the exact account name and PID, including whether letters are uppercase or lowercase, and keep them in a secure place. If you ever have to re-create an account that has been deleted or created in a different workgroup, you must supply the same name and PID entries. If you forget or lose these entries, you can't recover them.
Notes
Create a security group account
As part of securing a database, you can create group accounts in your Microsoft Access workgroup that you use to assign a common set of permissions to multiple users.
To complete this procedure, you must be logged on as a member of the Admins group.
Important The accounts you create for users must be stored in the workgroup information file that those users will use. If you're using a different workgroup to create the database, change your workgroup before creating the accounts. You can use the Workgroup Administrator (point to Security on the Tools menu) to change workgroups and to find out which workgroup information file is currently in use.
Caution Be sure to write down the exact account name and PID, including whether letters are uppercase or lowercase, and keep them in a secure place. If you have to re-create an account that has been deleted or created in a different workgroup, you must supply the same name and PID entries. If you forget or lose these entries, you can't recover them.
Note A user account name cannot be same as an existing group account name, and visa versa.
Note The PID entered in step 5 is not a password. Microsoft Access uses the PID and the user name as seeds for an encryption algorithm to generate a secure identifier for the user account.
Add users to security groups
To complete this procedure, you must be logged on as a member of the Admins group.
- Start Microsoft Access by using the workgroup that contains the user and group accounts.
You can find out which workgroup is current or change workgroups by using the Workgroup Administrator.
- Open the database.
- On the Tools menu, point to Security, and then click User And Group Accounts.
- On the Users tab, enter in the Name box the user you want to add to a group.
- In the Available Groups box, click the group you want to add the user to, and then click Add.
The selected group is displayed in the Member Of list.
- Repeat step 5 if you want to add this user to any other groups. Repeat steps 4 and 5 to add other users to groups.
Print information about security users and groups
Note If the workgroup information file was created with Microsoft Access 95 or later, all users in the workgroup can print user and group information. If you are using a workgroup information file created with Microsoft Access version 2.0, you must be logged on as a member of the Admins group to print user and group information.
You can find out which workgroup information file is current or change workgroups by using the Workgroup Administrator.
Click Only Users to print a report showing all users defined for the current workgroup.
Click Only Groups to print a report showing all groups defined for the current workgroup.
Click Both Users And Groups to print both user and group account information.
Remove users from security groups
To complete this procedure, you must be logged on as a member of the Admins group.
Notes
You can find out which workgroup is current or change workgroups by using the Workgroup Administrator.
Delete a security user account
To complete this procedure, you must be logged on as a member of the Admins group.
Note The Admin user account can't be deleted.
Delete a security group account
To complete this procedure, you must be logged on as a member of the Admins group.
Note The Admins and Users group accounts can't be deleted.
You can find out which workgroup is current or change workgroups by using the Workgroup Administrator.
View or transfer ownership of individual objects in a secure database
If you have Administer permission for a table, query, form, report, or macro, you can view the owner of the object or transfer its ownership to another user or group.
Note If you change ownership of a table, query, form, report, or macro to a group account, all users who belong to the group automatically receive the permissions associated with ownership of the object.
On the Change Owner tab, Microsoft Access displays a list of the tables, queries, forms, reports, and macros that are currently displayed in the Database window, and the current owner of those objects.
Transfer ownership of an entire database to another administrator
Note To import a database, you must have Open/Run permission for the database, and Read Design permission for its objects. To import tables, you must also have Read Data permission. If you have permissions for some tables, queries, forms, reports, and macros but not others, Microsoft Access imports only those objects for which you have permissions.
How?
A Microsoft Access workgroup information file contains a list of users who share data, also know as a workgroup. Users' passwords are also stored in the workgroup information file. To control who has access to your database, you must create a new workgroup information file.
Caution Be sure to write down your exact name, organization, and workgroup ID ù including whether letters are uppercase or lowercase (for all three entries) ù and keep them in a secure place. If you have to re-create the workgroup information file, you must supply exactly the same name, organization, and workgroup ID. If you forget or lose these entries, you can't recover them and might lose access to your databases.
The new workgroup information file is used the next time you start Microsoft Access. Any user and group accounts or passwords that you create are saved in the new workgroup information file. To have others join the workgroup defined by your new workgroup information file, copy the file to a shared folder (if you didn't already save it in a shared folder in step 5), and then have each user run the Workgroup Administrator to join the new workgroup information file.
You can find out which workgroup is current or change workgroups by using the Workgroup Administrator.
How?
- Open the database or switch to the Database window for the open database.
- On the File menu, point to Get External Data, and then click Import.
- In the Files Of Type box, make sure Microsoft Access (*.mdb; *.adp; *.mda; *.mde; *.ade) is selected.
- Click the arrow to the right of the Look In box, select the drive and folder where the Microsoft Access database (.mdb) or Microsoft Access project (.adp) that you want to import from is located, and then double-click the database's icon.
- In the Import Objects dialog box, click the tab for the kind of object that you want to import, and then click each object that you want to import, or click Select All to import all objects of the desired type. Repeat this step for each kind of object that you want to import.
To import just the tables' definitions (not the data that they contain), click Options, and then under Import Tables, click Definition Only.
To import select queries as tables (for example, to create a read-only database), click Options, and then under Import Queries, click As Tables. Action queries import as queries no matter how this option is set.
To include relationships, custom menus and toolbars, or import/export specifications (Access database only), click Options, and then, under Import, select the items you want included. Microsoft Access won't import a toolbar, menu bar, or shortcut menu if it has the same name as one in the Access file that you're importing to.