Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 13th, 2001, 07:07 AM
SiS SiS is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Denmark
Posts: 66 SiS User rank is Corporal (100 - 500 Reputation Level)SiS User rank is Corporal (100 - 500 Reputation Level)SiS User rank is Corporal (100 - 500 Reputation Level)SiS User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 h 58 m 27 sec
Reputation Power: 12
Send a message via ICQ to SiS
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

Reply With Quote
  #2  
Old December 13th, 2001, 07:49 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> 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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Prevent hotlinkers...?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT