Right, fed up of leechers stealing your bandwidth by hotlinking to your files on you webhosting?

Here's one of many solutions!

STEP 1.0 .htacess in the root of your hosting

In your primary ,htaccess file in the root (usually WWW or public_html) add this

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(.*.)?domain.co.uk [NC]
RewriteRule .(swf)$ hotlink.htm [NC,L]
Options All -Indexes
LINE ONE allows for line two and three to execute
LINE TWO allows for your own domain to access the files we're going to prevent hotlinking on
LINE THREE defines that for any file with the extension SWF (this might be GIF or JPG, etc) load the file hotlink.htm instead
LINE FOUR prevents your directories being indexed and viewed by content

STEP 2.0 hotlink.htm in the root of your hosting

<script type="text/javascript">
<!-- Frame Breaker Code
if (top != self) top.location.href = location.href;
// Frame Breaker Code -->
<META http-equiv="refresh" content="0;URL=http://www.domain.co.uk">
This is the really neat bit!

The <script> stuff removes any framing around whatever is leached then the META command redirects wherever you are directly to your domain...so basically you punish the leachers by redirecting ppl to your site.

If this is any use to anyone, thanks appreciated!