Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am connecting to MS SQL 2008 Standard. i have configured the certificate on the server and have been able to force encryption form the server successfully.

The problem is that i cannot use forced encryption from the server because that breaks another system. So we need to force encryption from the client side.

how do i connect to the server using secure connection?
Posted

The encryption can be defined into the connection string, see http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring.aspx[^]
 
Share this answer
 
Comments
Cool Smith 8-Apr-11 4:36am    
thank for responding,
can i do this in vbscript too
Wendelius 8-Apr-11 13:27pm    
If you're able to define the connection string in vbscript, then yes.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900