Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 02-05-2005, 01:45 PM Movie hotlinking
ShowPony's Avatar
Junior Talker

Posts: 2
Trades: 0
Hi everyone on the board this is my first post
Does anyone here know how to prevent the hotlinking of movies?? If you have a site with movies on it how do you prevent bandwidth theft?
I have a basic htaccess file which stops jpg and gif hotlinking but dont know how to protect my movies, any info or directions to info would be welcomed most heartily.
Thankyou

ShowPony
ShowPony is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-05-2005, 02:02 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
It will be the same as the image hotlink protection, except with different file extensions. Give the code you already have. Most hotlinking code usually has some sort ot (jpe?g|gif|png) regex in it, just separate each extension with a pipe: (jpe?g|gif|png|mpg|avi) etc.
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 02-05-2005, 04:58 PM
webspace's Avatar
Super Spam Talker

Posts: 933
Name: Buck Roberts
Location: Astoria, Oregon, United States
Trades: 0
I'm not really sure what you are asking.

What exactly is hotlinking?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
blog about paintings, drawings and photographs.

Please login or register to view this content. Registration is FREE
Weapons system and aerospace components

Last edited by webspace; 02-05-2005 at 06:57 PM..
webspace is offline
Reply With Quote
View Public Profile Visit webspace's homepage!
 
Old 02-05-2005, 05:03 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
I'm not the one asking webspace

Quote:
Wikipedia
Bandwidth theft is the intentional usage of someone's bandwidth without that person's authorization. A number of types of bandwidth theft exist.
Basically, hotlinking is when you call things off another persons server to appear on your own page. For example, if you have a gallery on your site, someone might take the URL of one of your pictures and place it on their own page. Whenever someone views their page, they download the picture from your server.
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 02-05-2005, 06:15 PM
ShowPony's Avatar
Junior Talker

Posts: 2
Trades: 0
Thankyou Chroder my penguinian friend
I think Ive solved the problem now though I searched and found some info on this topic I think Ive managed to modify it to my purposes. I will post it here anyway as it may be of use to somone else.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?whatevermysiteis.com/.*$ [NC]
RewriteRule \.(gif|jpg|WMV|wav|mp3)$ http://www.whatevermysiteis.com/index.html [R,L]

My movie files are WMV files other people may have none capitalized wmv file names or whatever else like mpg mov etc. This stops someone from being able to put a link directly to my movie files on their sites effectively stealing them.
Thanks for the responses

Last edited by ShowPony; 02-05-2005 at 06:18 PM..
ShowPony is offline
Reply With Quote
View Public Profile
 
Old 02-05-2005, 07:12 PM Questions
webspace's Avatar
Super Spam Talker

Posts: 933
Name: Buck Roberts
Location: Astoria, Oregon, United States
Trades: 0
Sorry Chroder,

I meant that question for ShowPony.

Thanks for the info.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
blog about paintings, drawings and photographs.

Please login or register to view this content. Registration is FREE
Weapons system and aerospace components
webspace is offline
Reply With Quote
View Public Profile Visit webspace's homepage!
 
Reply     « Reply to Movie hotlinking
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32724 seconds with 12 queries