Veya "Hotlink Protection" ile yapabilirsin. Ama .htaccess daha garanti.
Aşağıdaki kodu .htaccess dosyana ekleyerek yapabilirsin.
"x.com" ve "y.com" yerine istediğin alan adlarını yazman yeterli.
"x.com" ve "y.com" yerine istediğin alan adlarını yazman yeterli.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://x.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://x.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://y.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://y.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.x.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.x.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.y.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.y.com$ [NC]
RewriteRule .*\.(flv)$ http://x.com [R,NC]
teşekkürler. (: