title: securing passwords in code
body: <p>Even with https enabled, you can write a password to the event log in code-behind.  Any way to keep that password encrypted in code while you're checking it against a data store?</p>
  
  <p>(using Login control)</p>
  
  <p>(couldn't add comment to Andrew's answer, so I'm putting it here)<br>
  NTLM uses the username/password of the machine the user is logged into right?  For this, I was thinking using ActiveDirectory on the server as the data store.  It would have a diferrent un/pw than what the user is currently signed in to their machine as.  </p>