title: Securing files on web-server and accessing them via iPhone app
body: <p>I need to store thousands of PDFs on a web-server which need to be secured (encrypted or access permission based?).</p>
  
  <p>I want the only way to access these files to be via an iPhone app which I'm currently making, which is username/password protected. (I usually use php to communicate from the app to the database/files)</p>
  
  <ol>
  <li>Which technologies should I use to protect the files in the first place?</li>
  <li>What iOS/php code/frameworks should I use to display them on the device?</li>
  <li>Do I need to encrypt the transfer, over ssl or something?</li>
  </ol>
  
  <p>Thanks in advance, Leigh</p>