What is a Trusted Connection?

可紊 提交于 2019-11-26 07:38:44

问题


What is a trusted connection in terms of SQL Server 2005 (Trusted vs Windows Auth)?


回答1:


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 can also use its own logins, such as the sa user. These are both authenticated and authorized by SQL Server. They are only viable if SQL Server is run in Mixed Authentication Mode.

MSDN has a good article about choosing the right Authentication Mode. It's a good primer.




回答2:


A Trusted connection means Windows Authentication.

SQL Server has two Authentication modes: Mixed and Windows Authentication Mode.

Mixed has the option of SQL server logins (username and password) and Windows Authentication.



来源:https://stackoverflow.com/questions/1250552/what-is-a-trusted-connection

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!