title: How to hide harded coded password in Java source code
body: <p>I have a program that connect to a web site and do changes on its content. The program login first to have right to change the content. Now I want I pass the program to other peoples so they can run the program to help me finish the task.</p>
  
  <p>The program can only login under my account and I don't want to pass the password. I decided to hard code the password like this :</p>
  
  <pre><code>String username = "username";
  String password = "password";
  login(username, password);
  </code></pre>
  
  <p>How to make sure that it will be impossible to recover the password ? If it's impossible what to do to make the operation of recovering hard ? Or what the better way for my problem ?</p>