0

I don't know if anyone has been able to connect to a secure mssql server over the internet with vbscript using the adodb object

is there pilicy that restrict script connecting to secure servers?

Smith
  • 133
  • 5

2 Answers2

0

If the server has been setup with a certificate then you can add "Encrypt=yes;" to the connection string which will encrypt the connection over the network. If you want to force encryption for all connections then enable the "force encryption" option and restart the instance and all connections will be encrypted.

mrdenny
  • 27,174
  • 4
  • 41
  • 69
  • i have tried this, but it fails – Smith Apr 22 '11 at 08:48
  • What error message are you getting? Can you connect from the native tools over a secure connection? If you have force encrypted enabled, then no changed to the connection string are needed. – mrdenny Apr 23 '11 at 04:13
0

btw the answer to this question "is there pilicy that restrict script connecting to secure servers?" is no!

tony roth
  • 3,884
  • 18
  • 14