title: View your files, download specific purchased file , protected downloads page
body: <p>I have a page where user logins , and then it shows all of the files he have purchased.</p>
  
  <p>I want to do so when he clicks on download file button, it will download the file instantly.</p>
  
  <p><strong>Problem:</strong></p>
  
  <p>User can simply copy the link and pass it to his friends, and then everyone can download this file.</p>
  
  <p><strong>Qestion</strong></p>
  
  <p>How could I protect the downloads so that user can download his files anytime, but others can't, they will have to purchase it first.</p>
  
  <p><em><strong>My idea:</em></strong></p>
  
  <p>When user clicks on the download link, it will generate a link and then download the file, that link will get deleted after 10 seconds  instantly.</p>
  
  <p><em>But I am not to sure if its good enough, not secure or how to do it at all..</em></p>
  
  <p>Any ideas?</p>