title: TLS/SSL - C# - how to execute queries against a remote sql server?
body: <p>I have a winforms C# application which will have to send and receive information securely from a remote SQL Server.  At the moment I've just tested it with the database on my machine using the inbuilt classes e.g. SqlConnection.</p>
  
  <p>I need to connecting my program to a remote SQL Server, execute queries against it.  Both computers are under my organisation's control, although the remote workers are off-site and may be using a 3G connection.</p>
  
  <p>One option is to connect the two computers using a VPN, and then presumably the other computer is visible as if it was on the same network, then I can use my connection string as I have been doing so far, perhaps putting in the IP address. However the IT support people are grumbling about setting up VPNs.</p>
  
  <p><strong>I have heard of TLS/SSL but never used this before.  Can i use it to send sql queries to a SQL Server directly?</strong></p>