|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Prevent hotlinkers...?
I have been using a htaccess for my site to protect my content, like this:
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC]
RewriteRule /*$ http://www.yourdomain.com/forbidden [L,R]
But now I have added some movies to my site, and the htacces above dossen't seem to work, since windows media player dossent return a prober referer. How can I allow users from my site to view my movies but not someone linking to it from other sites?? Best regards Simon
__________________
I always wanted to be somebody, guess I should have been more specific |
|
#2
|
|||
|
|||
|
>> since windows media player dossent return a prober referer
Does it return anything for HTTP_REFERER at all? If not, you just can't deny hotlinking. I assume you are referring to movie streaming. Please take a few moment and check out the following threads and see if you can find anything helpful: 1) http://forums.devshed.com/showthrea...6727&forumid=15 2) http://forums.devshed.com/showthrea...5029&forumid=15 |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Prevent hotlinkers...? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|