Article ID: 209120 - Last Review: January 26, 2005 - Revision: 2.1 ACC2000: No Password Prompt Appears When Using Microsoft Access .MDB with ODBCThis article was previously published under Q209120 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies only to a Microsoft Access database (.mdb). SYMPTOMS
You are not prompted for a user name and password as you would expect when
you are using ODBC from an application to open a secured Microsoft Access
database.
CAUSE
This behavior occurs when you have not specified a Microsoft Access workgroup information file, System.mdw, to use with the Microsoft Access ODBC data source. The workgroup information file contains a list of users, groups, and passwords.
If you do not specify a workgroup information file, ODBC opens your Microsoft Access database (.mdb) file without a password and grants you the permissions of the Users group. RESOLUTION
Edit the Microsoft Access ODBC data source to use the appropriate Microsoft
Access workgroup information file.
Follow these steps to specify a workgroup information file to use in a Microsoft Access ODBC data source:
MORE INFORMATION
If ODBC opens your Microsoft Access database without a password, this does
not mean that you have circumvented Microsoft Access security. Microsoft Access employs user-level security on databases, not share-level security. In user-level security, you grant permissions to users of your database resources, such as tables and forms. In share-level security, you password-protect your resources. If ODBC opens your Access database without a password, you log on to the database as a member of the Users group and have permissions to only those objects in the database that are available to members of the Users group. If members of the Users group do not have permissions to edit data in a table, you are not able to edit that table using ODBC with no System.mdw file specified. In user-level security, the combinations of users and their permissions define database security. Information about users, groups, and passwords is stored in a workgroup information file. Information about who has permissions on database objects is stored with each database in the Microsoft Access database (.mdb) file. Passwords are stored in the workgroup information file and are used only to prevent a user from logging on to a database as another user who has different permissions on database objects. Members of the Users group alone may not have permissions to modify data in tables, but a user with a password may be a member of other groups with permissions to modify data.
| Article Translations
|
Back to the top
