对网络驱动器上的数据库进行只写访问? [英] Write-only Access to Database on Network Drive?

查看:71
本文介绍了对网络驱动器上的数据库进行只写访问?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在存储在Windows文件服务器上的Access 2007数据库文件上设置文件权限,以允许用户只将数据写入Access数据库,但不允许用户打开数据库文件或从中读取数据?


我正在尝试找到一种机制来捕获使用本地Web应用程序的用户的使用数据,但我不希望这些用户能够访问数据。


该机制使用Javascript中的ActiveX对象将数据写入数据库文件,但我无法弄清楚如何阻止用户从文件中读取或打开它。


或者这种事情只能使用像SQL Server这样的数据库服务器吗?


提前感谢您提供的任何帮助。

Is it possible to set the file permissions on an Access 2007 database file stored on a Windows file server to allow users to only write data TO an Access database, but not allow them to open the database file or read data from it?

I''m trying to find a mechanism to capture usage data from users who are using a local web application, but I don''t want those users to be able to access the data.

The mechanism uses ActiveX objects in Javascript to write data to the database file, but I cannot figure out how to prevent users from reading from the file or opening it.

Or is this kind of thing only possible using a database server, like SQL Server?

Thanks in advance for any help you can provide.

推荐答案

这就是我的工作,我的网站位于我的一台开发计算机上的IIS网络服务器上。

如果您使用相同的,...


尝试设置数据库所在的网络文件夹的安全性,以便只允许少数授权用户(也许你自己和网络管理员)


然后设置你的网站服务器的网站目录安全选项卡,匿名访问和身份验证控制使用其中一个授权帐户访问数据的属性。


它可能不是最好的方法或唯一的方法,但它适用于我。




P:oD
This is what I do, my website is on an IIS webserver on one of my dev computers.
If you are using the same, ...

try settings the security of the network folder where the database resides to allow only a few authorized users (yourself and network administrators perhaps)

then set your webserver''s website "Directory Security" tab, "Anonymous access and authentication control" properties to use one of these authorized accounts to access the data.

It might not be the best method or the only one but it works for me.



P:oD


我不相信Access可以使用任何低于完全访问权限的东西(至少在文件级别) )。可能是人们可以通过POD使用IIS安全性建议的方式解决这个问题,但我对此知之甚少。如果没有,那么我至少会确保项目编码只允许读取数据。
I don''t believe Access will work with anything less than full access permissions available (At the file level at least). It may be that one could get around this in the way suggested by POD using IIS security, but I know little of that. If not, then I would at least ensure the project is coded to allow only reading of the data.


你不能阻止它们打开或读取数据。但是您可以加密插入数据库的数据。只需确保使用数据库的mde版本,这样他们就无法从代码中获取密钥。至少不容易。
You can''t prevent them from opening or reading data. But you can encrypt the data you insert into the database. Just make sure to use an mde version of the database so they can''t get the key from the code. At least not easily anyways.


这篇关于对网络驱动器上的数据库进行只写访问?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆