是否可以绕过旧访问数据库的 DAO 组/用户安全?
我正在尝试为我没有代码的旧软件构建与 Windows 7 兼容的新数据库管理器。我使用的是 64 位 Windows 7,因此无法安装用于连接数据库的必要 DAO 驱动程序。
不幸的是,数据库是使用 DAO 用户/工作组权限进行保护的。有什么方法可以从数据库中提取信息或绕过该文件的安全措施吗?
I'm trying to build new DB manager compatible with Windows 7 for old software which i don't have the code to. I am using 64bit Windows 7, and therefore cannot install the necessary DAO driver that was used to connect to the database.
Unfortunately, the database is protected using the DAO user/workgroup privileges. is there any way to extract the information from the database or bypass the security measures on that file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您没有提及您必须使用哪个版本的 Access。
如果您有权访问 2010 或 2013,则可以使用工作组安全文件和快捷方式打开数据库。
2010
2013
上述快捷键当然是一行,各部分之间用空格分隔。
使用上述快捷方式打开数据库后,这将指定工作组安全文件。系统将提示您输入用户名和密码。完成此操作后,即可从 Access 文件菜单中关闭数据库。 (不要退出 Access)。此时您可以创建一个空白的新2010 accDB 数据库。然后从旧的 mdb 数据库导入所有对象。
请注意,上述操作是在您不退出 Access 的情况下进行的 - 这意味着您将保持与安全组的连接。由于您仍然连接到安全工作组,因此您可以将所有对象从旧的 mdb 导入到您刚刚创建的新 accDB。此时,我将退出 Access,然后启动新创建的数据库。
因此,新数据库将不受所有安全性的影响,并且您退出并重新进入 Access 并在没有安全组快捷方式的情况下启动 Access 意味着您将在没有工作组安全性的情况下打开新数据库。
上面假设您拥有正确的用户名+密码登录,并且具有数据库的完全权限。如果数据库具有无法绕过的启动代码和表单,那么您可以创建一个空白数据库,并再次为新数据库指定上述工作组安全文件,这也将允许您将对象导入到新的空白中数据库。结果应该是一个没有任何安全性的 accDB 文件。
You don’t mention what version of Access you have to work with.
If you have access 2010, or 2013, you can open the database using the workgroup security file with a shortcut.
2010
2013
The above shortcuts are of course one line and each part being separated by a space.
Once you opened the database with the above shortcut then this specifies the workgroup security file. You will be prompted for user and password. Once you done this, then can from the Access file menu close the database. (Do NOT exit Access). At this point you can create a blank new 2010 accDB database. And then import all objects from the old mdb database.
Note the above works by you NOT exiting Access – this means you will remain attached to the security group. Since you remain attached to the security workgroup you are able to import all objects from the older mdb to the new accDB you just created. At this point I would then exit Access and then launch the newly created database.
The new database will thus be free of all security, and your exit + re-enter of Access and launching Access without the security group shortcut means you are opening the new database without workgroup security.
Above assumes you have the correct user + password logon with full rights to the database. If the database has startup code and forms that you can't by-pass, then you can create a blank database and again specify the above workgroup security file for the new database and that also would allow you to import the objects into your new blank database. The result should be an accDB file without any security.