title: How to add Username and Password to Rethinkdb connection?
body: <p>How to add username and password to <code>rethinkdb</code> connection?</p>
  
  <p>In my network there are 100 plus machines. Out which only 2 machines are under my control.
  Out of 2, one is virtual machine and one is physical machine.</p>
  
  <p>If i run <code>rethinkdb</code> on virtual machine with below command</p>
  
  <pre><code>rethinkdb --bind all
  </code></pre>
  
  <p>Now my <code>rethinkdb http:// ip:8080</code> is exposed to all machines in the network. How to set username and password to restrict others?</p>
  
  <p>If i use <code>localhost:8080</code> in the virtual machine, administrative HTTP connection is useless as it can't be accessed neither on the physical machine nor on the virtual machine.</p>
  
  <p>How do i solve this? </p>
  
  <p>Thanks</p>