Source: blog. csdn. netdba_huangzjarticledetails00007111, topic Directory: blog. csdn. netdba_huangzjarticledetails37906349 no one shall publish in the original form or use it for commercial purposes without the consent of the author. I am not responsible for any legal liability. Previous Article: B
Source of the original article: without the consent of the author, no one shall publish in the original form or use it for commercial purposes. I am not responsible for any legal liability. Previous Article: http: // B
Source: Workshop
Without the consent of the author, no one shall be published in the form of "original" or used for commercial purposes. I am not responsible for any legal liability.
Previous Article: http://blog.csdn.net/dba_huangzj/article/details/38656615
Preface:
SQL Server has two types of Identity Authentication: one is WIndows identity authentication. Windows Identity Authentication uses an account on Windows and uses its security token for authentication. One is SQL Server authentication, which uses the account defined in SQL Server for identity authentication.
Implementation:
1. In SSMS, right-click "Instance name", select "properties", and find the "Security" Page:
Windows Authentication: Only WIndows accounts are accepted. This is enabled by default and cannot be disabled. [SQL Server and Windows Authentication Mode] accepts WIndows and SQL Server accounts.
2. If Windows authentication is selected, you can create an SQL Server license, but it cannot be used. To switch to authentication, restart the service.
Principle:
During installation, SQL Server requires authentication. Windows authentication is the default and recommended, because it not only simplifies management, but also provides higher security. You cannot Disable Windows authentication, and use SQL Server authentication only when the accessed user exceeds the local network or in a trusted domain environment.
An SQL Server account is created in SQL Server. Both authentication and password verification are performed by SQL Server.
The recommended solution is to use Windows Authentication and define a group in the Active Directory to add the group to SQL Server only.