WCF - 传输安全模式:哪个用户访问数据库?
WCF - Transport Security Mode: which user accesses the database?
在WCF中,Net.TCP
,客户端调用具有Transport
安全和client credentials="Windows"
的服务(基本上是以下场景:https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/transport-security-with-windows-authentication),如果服务随后访问数据库和连接字符串正在使用 Integrated Security
,哪个用户正在访问数据库?是用户 运行 client 还是用户 运行 service,例如。服务帐户?
原帖:
if the service then accesses a database and the connection string is using Integrated Security, which user is accessing the database?
数据库连接将在 WCF 服务的上下文中。要代表他们打开数据库,您可能需要模仿他们。
该链接示例仅描述用于调用服务的身份验证
另见
在WCF中,Net.TCP
,客户端调用具有Transport
安全和client credentials="Windows"
的服务(基本上是以下场景:https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/transport-security-with-windows-authentication),如果服务随后访问数据库和连接字符串正在使用 Integrated Security
,哪个用户正在访问数据库?是用户 运行 client 还是用户 运行 service,例如。服务帐户?
原帖:
if the service then accesses a database and the connection string is using Integrated Security, which user is accessing the database?
数据库连接将在 WCF 服务的上下文中。要代表他们打开数据库,您可能需要模仿他们。
该链接示例仅描述用于调用服务的身份验证