How to allow download a file from only one URL?
<p>I'm looking for a pretty simple PDF-file download protection, but I'm not sure where to begin.</p>

<p>It's a PDF file and I offer the download link on a password protected WordPress page. When someone signs up to my list, they get an email with the password. On the password protected page is the link to the PDF-file</p>

<p>I want only this page (specific URL) to be able to access the file. So link sharing would be impossible, unless you have the password for the page.</p>

<p>Can this be achieved via a htaccess file? Something like this:</p>

<pre><code>&lt;Files *.pdf&gt; 
    order Deny,Allow 
    Deny from all 
    Allow from *SPECIFIC_URL* 
&lt;/Files&gt; 
</code></pre>

<p>Please help</p>

<p>Thanks...</p>