IIS7:设置集成Windows身份验证喜欢IIS6 [英] IIS7: Setup Integrated Windows Authentication like in IIS6

查看:583
本文介绍了IIS7:设置集成Windows身份验证喜欢IIS6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是IIS 7在Windows Server 2008不是一个AD域的一部分上。我想密码保护的网站,人们必须输入用户名/密码(Windows帐户例如)查看网站。然后,网站将使用其自己的身份验证方法(形式)来处理用户帐户并决定是否显示成员特定页等。

This is for IIS 7 on a Windows Server 2008 that is not part of an AD domain. I would like to password protect a website, where people have to enter a username/password (a windows account for example) to view the website. The website would then use its own authentication method (forms) to handle user accounts and decide whether or not to show member specific pages, etc.

使用IIS6,我们只是禁用匿名访问并启用集成Windows身份验证。 IIS7的行为不同,当我进入windows用户名/密码查看网站,网站上来罚款,但重定向到登录页面。有一次我登录,该网站自然行为。我需要能够浏览网站,而不与网站凭据登录。

With IIS6, we just disabled anonymous access and enabled integrated windows authentication. IIS7 behaves differently and when I enter the windows username/password to view the site, the site comes up fine but redirects to the login page. Once I log in, the site behaves naturally. I need to be able to navigate the site without logging in with the website credentials.

我不认为让匿名访问将使感在这里,因为我想访问的网站进行密码保护(弹出用户名/密码对话框当您第一次浏览到URL)。

I don't think enabling anonymous access would make sense here since I want access to the website to be password protected (popup username/password dialog when you first navigate to the url).

任何帮助AP preciated!

Any help is appreciated!

推荐答案

两级认证不能和IIS7集成模式的支持。验证现在模块化,因此而不是IIS执行认证之后asp.net执行认证,这一切都发生在同一时间。

Two-stage authentication is not supported with IIS7 Integrated mode. Authentication is now modularized, so rather than IIS performing authentication followed by asp.net performing authentication, it all happens at the same time.

您可以:


  1. 更改应用程序域将在IIS6经典模式...

  2. 按照<一href=\"http://mvolo.com/iis-70-twolevel-authentication-with-forms-authentication-and-windows-authentication/\"相对=nofollow>这个例子(<一个href=\"http://mvolo.com/blogs/serverside/archive/2008/02/11/IIS-7.0-Two_2D00_Level-Authentication-with-Forms-Authentication-and-Windows-Authentication.aspx\"相对=nofollow>老链接)如何与IIS7集成模式假两阶段的验证。
  3. 使用赫利猿并的的mod_auth提供基本身份验证

  1. Change the app domain to be in IIS6 classic mode...
  2. Follow this example (old link) of how to fake two-stage authentication with IIS7 integrated mode.
  3. Use Helicon Ape and mod_auth to provide basic authentication

这篇关于IIS7:设置集成Windows身份验证喜欢IIS6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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