title: Firebase database security rules allow authenticated user to read and write from their own contents
body: <p>Here's my database structure:</p>
  
  <pre><code> Clients:
       employee1emailaddress
       employee2emailaddress
   Employees:
       employee1emailaddress
       employee2emailaddress
   allClients:
       client1phonenumber
       client2phonenumber
  </code></pre>
  
  <p>I want to make a security rule to limit the authenticated user to <strong>read</strong> and <strong>write</strong> from nodes associated to their <strong>email address</strong></p>
  
  <p>For example:
  the employee who has the email address of <code>employee1emailaddress</code> can <strong>only read from and write to the nodes that has their email addresses as the key</strong></p>
  
  <p>How to make that possible ? and thanks in advance..</p>