title: SQL Connection Over Internet: good practice?
body: <p>I'm working with a WPF/C# desktop application, and I need to connect with the database server over the internet to a static IP address, but in some cases, an sql connection exception occur because the bad internet ping and latency.</p>
  
  <p>I also know some of the security risks that can be made from this. I'm already parametrized all queries and connecting with encryption.</p>
  
  <p>So I start to think: this is a good practice? And what can I do to increase security and performance?</p>