简体   繁体   English

IIS7:使用Windows身份验证的经典ASP应用程序写入.mdb文件的访问权限

[英]IIS7: classic ASP application write access to .mdb file using windows authentication

I have a classic ASP application I want to run on my website (IIS7). 我有一个经典的ASP应用程序,我想在我的网站上运行(IIS7)。 This site contains an .mdb database file. 该站点包含.mdb数据库文件。 I have enabled windows authentication and disable anonymous under authentication. 我已启用Windows身份验证并禁用匿名身份验证。 I want members of a certain domain group (TESTGROUP) to have access to write to the database through the website, but I don't want them to have direct access to the files through windows. 我希望某个域组(TESTGROUP)的成员有权通过网站写入数据库,但我不希望他们通过Windows直接访问这些文件。 I cannot seem to find the correct permissions for the .mdb file to make this possible. 我似乎无法找到.mdb文件的正确权限,使这成为可能。

Simply, that's not directly possible with Ms Access. 简单来说,Ms Access无法直接实现。 Why not using Sql Server Express, it's free, much more stable and you have full control of your access rights. 为什么不使用Sql Server Express,它是免费的,更稳定的,您可以完全控制您的访问权限。

If you have to use MsAccess, why not add a Webservice before it, and use active directory for access control. 如果必须使用MsAccess,为什么不在它之前添加Web服务,并使用活动目录进行访问控制。

This is a good start: See if user is part of Active Directory group in C# + Asp.net 这是一个好的开始: 查看用户是否是C#+ Asp.net中Active Directory组的一部分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM