Establishing an Encrypted Connection

You can use the Multi-Protocol netlib to establish an encrypted connection with SQL Server for a specific user or for all users accessing SQL Server. The Multi-Protocol netlib will encrypt data sent to and received from SQL Server.

    To set up encryption for a specific user
  1. Create an account on the machine running SQL Server that matches the account (same username and password) on the client machine.
  2. Turn on encryption for the Multi-Protocol netlib. This can be done for a specific client or through the server for all clients. For more information, see "Configuring Clients" in the Microsoft SQL Server Administrator's Companion.
    To set up encryption for all users

The user account established on the server machine is not a SQL Server account. The client application must specify a valid SQL Server username and password to successfully connect to SQL Server.

If the connection is unsuccessful because of an invalid username or password, the Multi-Protocol netlib will return error 5 (access denied).