[英]IIS windows authentication alternatives
For a .NET 1.1 website that I just moved, there is a folder that was password protected from IIS (6) using windows authentication. 对于我刚刚移动的.NET 1.1网站,存在一个使用Windows身份验证从IIS(6)进行密码保护的文件夹。 The new server is running IIS 7 and the host does not want to install basicAuthentication or windowsAuthentication roles because it's a shared server.
新服务器正在运行IIS 7,并且主机不想安装basicAuthentication或WindowsAuthentication角色,因为它是共享服务器。 What other alternatives are there to protecting this folder?
还有什么其他方法可以保护此文件夹? It only needs a single username/password and doesn't need any special management.
它只需要一个用户名/密码,不需要任何特殊的管理。
I thought I saw IIS 7 had it's own users and authentication system, is this a viable option? 我以为我看到IIS 7拥有自己的用户和身份验证系统,这是一个可行的选择吗?
You can put security in the web.config on a particular folder for a user, set of users, or a role: 您可以将安全性放在用户,一组用户或角色的特定文件夹的web.config中:
Setting authorization rules for a particular page or folder in web.config 在web.config中为特定页面或文件夹设置授权规则
TechNet上有关在IIS 7中配置身份验证的文章绝对值得一读。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.