如何使用Windows身份验证保护IIS 7.5中的单个页面? [英] How to secure a Single Page in IIS 7.5 with Windows authentication?

查看:57
本文介绍了如何使用Windows身份验证保护IIS 7.5中的单个页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Windows身份验证保护IIS 7.5中的单个页面?

How to secure a Single Page in IIS 7.5 with Windows authentication?

推荐答案

要使用Windows身份验证在IIS 7.5中保护单个页面,只需按照以下步骤进行操作......

1.打开IIS 7管理器。

2.单击IIS 7管理器底部的内容视图,然后导航到要密码保护的文件。 br />
3.右键单击目标文件并选择切换到功能视图。

4.双击IIS区域下的身份验证。

5.禁用匿名身份验证。

6.启用Windows身份验证。

您已完成...

现在请检查您设置win Auth的页面。它会询问您userId和密码。
To secure a Single Page in IIS 7.5 with Windows authentication simply follow these steps…
1. Open IIS 7 Manager.
2. Click on "Content View "at the bottom of the IIS 7 Manager and navigate to the file you want to password protect.
3. Right click on the target file and choose "Switch to Features View".
4. Double click on Authentication under IIS Area.
5. Disable "Anonymous Authentication".
6. And Enable "Windows Authentication".
You are done...
Now please check the page on which you had set the win Auth. It will ask you for the userId and Password.


这篇关于如何使用Windows身份验证保护IIS 7.5中的单个页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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