配置IIS以使用Active Directory帐户连接到SQL Server [英] Configure IIS to connect to SQL Server using Active Directory account

查看:80
本文介绍了配置IIS以使用Active Directory帐户连接到SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在AD上创建了一个组,并将该组配置为可以访问我的SQL Server。有了它,任何.Net应用程序,SQL Server和SSIS都可以使用该组中的任何AD帐户连接到SQL Server,他们只需要设置受信任的连接/ Windows身份验证即可。

I have created a group on AD, and configured this group to have access to my SQL Server. With it, any .Net app, SQL Server and SSIS are able to connect to SQL Server using any AD account that's on that group, they just need to set Trusted Connection/Windows Authentication.

现在我需要在IIS应用程序上执行相同的操作。但是我从未配置过IIS,也不知道该怎么做。我用Google搜索了它,但是所有内容都涉及到用户使用NTLM对IIS进行身份验证,而不是IIS连接到SQL Server。

Now I need to do the same on IIS apps. But I have never configured IIS and don't know how to do it. I Googled it, but everything refers to user authenticating to IIS using NTLM, not IIS connecting to SQL Server.

推荐答案

对于Server2008和更高的级别,您可能希望使用应用程序池标识。这篇文章帮助我设置IIS / SQL应用程序。

For Server2008 and higher you will likely want to use Application Pool Identity. This article helped get me going when I set up an IIS / SQL Application.

http://www.iis.net/learn/manage/configuring-security/application-pool-identities

编辑:
在演示如何使用内置帐户的地方,可以选择自定义帐户。
https://thycotic.force.com/support/s/article/Running-Secret-Server-IIS-Application-Pool-with-a-Service-Account

EDIT2:
使用Windows身份验证- https://blogs.msdn.microsoft.com/chiranth/2014/04/17/setting-up-kerberos-authentication-for-a-website-in -iis /

这篇关于配置IIS以使用Active Directory帐户连接到SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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