title: how to secure woocommerce downloadable files
body: <p>As the title states I have a question about digital downloadable products through woocommerce.  I am new to web development and wordpress so go easy on me.  I am trying to add a downloadable product where you can't access the file by direct url.  I have set the download type to force download to prevent link sharing but found that I can still access the purchasable files by typing in the direct path Example:</p>
  
  <pre><code>example.com/wp-content/uploads/woocommerce_uploads/2015/06/examplefile.pdf
  </code></pre>
  
  <p>I have done quite a bit of research but have come up with very few results.  One of the only things that I have found is that I should move the downloadable files outside of the root directory.  I have attempted to do this but then the download links no longer work.  Instead of doing a forced download like normal it redirects to to a page like </p>
  
  <pre><code>example.com/home/user/public_html/home/user/downloads/examplefile.pdf
  </code></pre>
  
  <p>So I am thinking woocommerce must not be friendly with the files outside the root directory.  All in all I am out of ideas of what else to try.  Any help or suggestions of how to make this work (having files outside root directory) or other solutions would be greatly appreciated.  </p>