简体   繁体   English

什么是可信连接?

[英]What is a Trusted Connection?

在SQL Server 2005(Trusted vs Windows Auth)方面,什么是可信连接?

A trusted connection is the same thing as using Windows Authentication in SQL Server 2005. Authentication is done by the domain, and authorization is handled by SQL Server. 可信连接与在SQL Server 2005中使用Windows身份验证相同。身份验证由域完成,授权由SQL Server处理。

SQL Server can also use its own logins, such as the sa user. SQL Server还可以使用自己的登录名,例如sa用户。 These are both authenticated and authorized by SQL Server. 这些都经过SQL Server的身份验证和授权。 They are only viable if SQL Server is run in Mixed Authentication Mode. 它们仅在SQL Server以混合身份验证模式运行时才可行。

MSDN has a good article about choosing the right Authentication Mode . MSDN有一篇关于选择正确的身份验证模式的好文章。 It's a good primer. 这是一个很好的入门书。

A Trusted connection means Windows Authentication. 可信连接意味着Windows身份验证。

SQL Server has two Authentication modes: Mixed and Windows Authentication Mode. SQL Server有两种身份验证模式:混合和Windows身份验证模式。

Mixed has the option of SQL server logins (username and password) and Windows Authentication. Mixed具有SQL服务器登录(用户名和密码)和Windows身份验证选项。

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

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