title: Restricting access to php file
body: <p>I'm currently writing an Android app at the moment, that accesses a PHP file on my server and displays JSON data provided by my MYSQL database.</p>
  
  <p>Everything works great and I love the simplicity of it, but I'm not too comfortable with the fact that someone could just type in the URL of this PHP file and be presented with a page full of potentially sensitive data.</p>
  
  <p>What advice would you give me to prevent access to this PHP file from anyone except those using my android app?</p>
  
  <p>Thanks very much for any information.</p>