How can I protect my site from being leeched?
<p>I am using the <code>header</code> function of PHP
to send the file to the browser with some small code. Its work well
and I have it so that if any one requests it with a referer other than my site
it redirects to a page first.
Unfortunately it's not working with the internet download manager.</p>

<p>What I want to know is how the rabidshare and 4shared sites do this.</p>
