来自不受信任域的集成SQL-server身份验证

时间:2023-01-20 13:17:42

I really want to use SQL-server from a C#/.NET appliaction without using SQL-Server accounts or adding the affected computer to the same domain or to any domain at all or to use the same logon-name as the domain.

我真的想在不使用SQL-Server帐户的情况下使用C#/ .NET应用程序中的SQL-server,或者将受影响的计算机添加到同一域或任何域,或者使用与域相同的登录名。

Isn't there any way? Did someone try to do this using the MONO implementation of SSPI?

有什么办法吗?有人尝试使用SSPI的MONO实现吗?

2 个解决方案

#1


To rephrase your question, you want to use domain authentication without domains.

要重新解释您的问题,您希望使用没有域的域身份验证。

No, that's not possible.

不,那是不可能的。

You can set them each up on domains and use trusts between the domains, or you can use SQL authentication.

您可以在域上设置它们并在域之间使用信任,也可以使用SQL身份验证。

#2


Have you considered using impersonation in the application ?

您是否考虑过在申请中使用假冒?

#1


To rephrase your question, you want to use domain authentication without domains.

要重新解释您的问题,您希望使用没有域的域身份验证。

No, that's not possible.

不,那是不可能的。

You can set them each up on domains and use trusts between the domains, or you can use SQL authentication.

您可以在域上设置它们并在域之间使用信任,也可以使用SQL身份验证。

#2


Have you considered using impersonation in the application ?

您是否考虑过在申请中使用假冒?