title: How can I hide my password in my C# Connection string?
body: <p>I have the following connection string:</p>
  
  <pre><code>Data Source=Paul-HP\MYDB;Initial Catalog=MyMSDBSQL;Persist Security Info=True;User ID=sa;Password=password
  </code></pre>
  
  <p>(.net webservice)
  This can obviously be viewed simply by opening up the app.config file and looking at the configuration settings.</p>
  
  <p>What I need is a way to make a hacker unable to see the password. But at the same time, leave it customisable so that it can be changed when deployed on another database.</p>