我们使用 MS Access 2007 作为我们的数据库,应该支持访问受限的用户(高级用户):
- 数据库应该对所有用户通用(因此不能位于用户的私人文件夹中)
- 我们不允许为某个目录的所有用户授予 R/W 权限
- 然而,我们需要所有用户都能够使用这个数据库。
任何人都可以考虑解决这个问题吗?(我只能考虑为这份工作写一个服务,但我相信一定有更好的东西)
我们使用 MS Access 2007 作为我们的数据库,应该支持访问受限的用户(高级用户):
任何人都可以考虑解决这个问题吗?(我只能考虑为这份工作写一个服务,但我相信一定有更好的东西)
Have a look at this to help you make your decision. Personally I won't recommend using Access if your user is more than say 4 simultaneous users as a shared database. I've used solution however where we use Access as a front end to a SQL Server backend where we cache SQL data locally for faster access and push necessary data changes back to SQL Server. And have that Access file reside on the client computer.
Putting Access anywhere will require a R/W permission on that directory since Access will create lock file in that directory (or it used to be anyhow).
If you insist on using Access, I'd go w/ Access front end connecting to SQL Server backend. The network share option is doable if you don't have a lot of users (4 - 8 the most).
您希望将 MDB 拆分为一个前端 MDB,其中包含查询、表单、报告、宏和模块,其中仅包含后端 MDB 中的表和关系。FE 被复制到每个网络用户的计算机上。FE MDB 链接到位于服务器上的后端 MDB 中的表。您对 FE MDB 进行更新并将其分发给用户,可能作为 MDE。
有关详细信息,请参阅“将您的应用拆分为前端和后端提示”页面。请参阅Auto FE Updater下载页面以使此过程相对轻松。该实用程序还很好地支持终端服务器/Citrix。
现在我不太明白为什么您有第二个项目符号中提到的限制 在服务器上必须有一个公共文件夹,所有用户都具有 R/W 权限。请更详细地解释这一点。
SQL Server Express可以用作后端数据库,它不需要您为每个人授予对文件夹的写入权限。
SQL Server Migration Assistant 2008 for Access V4.0可用于将Access 数据库表迁移到SQL Server Express 。
使用 SQL Server Express 作为数据库服务器将大大提高 Access 在多用户环境中的稳定性和可靠性。我已经使用 Access 工作了几年,安装了 20 多个并发用户。如果您正在做类似的事情,我强烈建议您使用 Sql Server 或 Sql Server Express 作为您的后端数据库。