简体   繁体   English

从另一个域配置IIS身份验证

[英]Configure IIS authentication from another domain

Hi I have the following scenario: I have Web Application hosted on IIS and I am in domain abcom. 嗨,我有以下情形:我将Web应用程序托管在IIS上,并且位于域abcom中。 The IIS is configured to authenticate the users with windows authentication and everyone that in the domain abcom can enter the site. IIS配置为使用Windows身份验证对用户进行身份验证,并且域abcom中的每个人都可以进入该站点。 But there are users that in another domain lets call it cdcom and they can't enter the site with their windows credentials because the IIS check against abcom... 但是有些用户在另一个域中将其称为cdcom,并且他们无法使用Windows凭据进入该站点,因为IIS会针对Abcom进行检查...

How can I configure IIS to check for windows user in cdcom? 如何配置IIS在cdcom中检查Windows用户? Thanks! 谢谢!

Try below process. 请尝试以下过程。

  1. Go to (IIS) Manager. 转到(IIS)管理器。
  2. Right Click on Web-Application. 右键单击Web应用程序。
  3. Select Edit Permission option. 选择“ 编辑权限”选项。
  4. Select Security tab. 选择安全性选项卡。
  5. Click on Edit... button. 单击编辑...按钮。
  6. Click on Add... button. 单击添加...按钮。
  7. Write your new user domain name 写下您的新用户域名
  8. Click OK 点击确定
  9. select newly added User name from Group or user names: 组或用户名中选择新添加的用户名:
  10. tick on Allow 勾选允许
  11. Click OK 点击确定

-It should work -它应该工作

You need to set the identity of the application pool of that website: 您需要设置该网站的应用程序池的标识:

  1. Open IIS 打开IIS
  2. Under "Application Pools" right click on your website's pool, choose "Advanced Settings..." 在“应用程序池”下,右键单击您的网站池,选择“高级设置...”。
  3. Edit "Identity" field 编辑“身份”字段
  4. set "Custom account" credentials 设置“自定义帐户”凭据
  5. Recycle just in case 回收以防万一

You application is now using the user you've configured. 您的应用程序现在正在使用您配置的用户。

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

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