hi every body
sorry for my english but my keyboard dosn't support arabic
you want To prevent people HOTLINKING (linking to your images from other sites, so they  
show on their pages on their sites, without the viewer ever 
visiting your site, though you pay for the bandwidth)add this 
rule to any of your .htaccess files on your site. Remember: 
placed in the root they guard the whole site. 
The http://www.yoursite.com/, tells the server which site the 
rewrite is for. The *somesite.com, tells the script to allow hot-linking from anywhere on that site, add a line for each site 
allowed to hotlink (change somesite.com/ to yoursite.com,  if 
no hotlinking from other sites is allowed). You can choose 
whether to place this 'anti-hotlink' rule in your members aria to 
protect only there, or in your root to protect 
your whole site. If it's in your root, nobody can hotlink - no 
topsites, nothing, to anywhere on your site, accept the site/s 
positioned at '*somesite.com!) 
You may want to protect mpegs, too: in that case, use this one: 
Use this one to prevent the hot-linking of your pics, and movies (but read further here) 
Or this one 
Test it by linking direct to the pics and movies from an other site and also cut then paste the direct link. 
THE PROBLEM WITH MOVIE & FLASH FILES :
There seems to be problem protecting movie images and particularly .swf (flash). 
Some webmasters say they have to embed their mpegs and flash files and not use the 
<img scr> tag. 
It is said that there is not yet a perfect solution to this, but 
the problems are caused because movie players use java and 
do not send headers and so the server does not track them. 
But, as a solution, most of the time the following will help: 
Add this rule to your .htaccess file in your movie directory: 
	كود:
	RewriteEngine on 
RewriteOptions inherit 
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com/ [NC] 
RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$) 
RewriteRule /*$ http://www.yourdomain.com/ [L,R]
 Or add this one 
this is the best way to do what you want