title: Restricting Firebase read/write access to only myself
body: <p>I have a static website which runs:</p>
  
  <pre><code>config =
    apiKey: "HIDDEN"
    authDomain: "HIDDEN"
    databaseURL: "HIDDEN"
    storageBucket: ""
  
  firebase.initializeApp(config)
  </code></pre>
  
  <p>in the browser (it's compiled to javacript) to authenticate with Firebase's server. </p>
  
  <p>Am I confused here? Is this a valid way to authenticate with Firebase from the browser? I got the code from their "web" tutorial, so I'm figuring it is.</p>
  
  <p>Now, I need to configure my Firebase database rules so that <strong>me and only me</strong> can read &amp; write it.</p>
  
  <p>How could I accomplish this? Would this example be adequate?</p>
  
  <p><em>this is the given example for allowing read/write to authenticated users only</em></p>
  
  <pre><code>{
    "rules": {
      ".read": "auth != null",
      ".write": "auth != null"
    }
  }
  </code></pre>