How can I prevent video links from getting whored?

Ns1

No Lifer
Jun 17, 2001
55,420
1,599
126
My friend runs a site that I own, he posted some video's on the webpage, and then those links got posted on another forum where my server then proceeded to get raped (atot effect, to a lesser extent)

How can I prevent such leeching?
 

Metalloid

Diamond Member
Jan 18, 2002
3,064
0
0
Originally posted by: NeuroSynapsis
My friend runs a site that I own, he posted some video's on the webpage, and then those links got posted on another forum where my server then proceeded to get raped (atot effect, to a lesser extent)

How can I prevent such leeching?

Take the videos down?
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
Verify that the "http-referer" header matches your site. (Yes, referrer is actually spelled referer in the http headers
rolleye.gif
.)
 

Ns1

No Lifer
Jun 17, 2001
55,420
1,599
126
Originally posted by: Metalloid
Originally posted by: NeuroSynapsis
My friend runs a site that I own, he posted some video's on the webpage, and then those links got posted on another forum where my server then proceeded to get raped (atot effect, to a lesser extent)

How can I prevent such leeching?

Take the videos down?

that would defeat the purpose of putting them on the webpage in the first place
 

Metalloid

Diamond Member
Jan 18, 2002
3,064
0
0
Originally posted by: NeuroSynapsis
Originally posted by: Metalloid
Originally posted by: NeuroSynapsis
My friend runs a site that I own, he posted some video's on the webpage, and then those links got posted on another forum where my server then proceeded to get raped (atot effect, to a lesser extent)

How can I prevent such leeching?

Take the videos down?

that would defeat the purpose of putting them on the webpage in the first place

And the purpose of them being on the web page is so that people can view them, and that is what you are complaining about. :p
 

Ns1

No Lifer
Jun 17, 2001
55,420
1,599
126
Originally posted by: Metalloid
Originally posted by: NeuroSynapsis
Originally posted by: Metalloid
Originally posted by: NeuroSynapsis
My friend runs a site that I own, he posted some video's on the webpage, and then those links got posted on another forum where my server then proceeded to get raped (atot effect, to a lesser extent)

How can I prevent such leeching?

Take the videos down?

that would defeat the purpose of putting them on the webpage in the first place

And the purpose of them being on the web page is so that people can view them, and that is what you are complaining about. :p

The purpose of them being on (let's just say my for sake of argument) my site is so people can go to my site and view that page and THEN look at the video. not for some whore to post the link on a message board and not look at the site.
 

morkinva

Diamond Member
Nov 16, 1999
3,656
0
71
Could you embed the video in a page, a page which would require a referrer to access?
 

atom

Diamond Member
Oct 18, 1999
4,722
0
0
LOL the answer is already in the 3rd post, and it's the easiest solution too. Modify .htaccess so you can't hot link.
 

Ns1

No Lifer
Jun 17, 2001
55,420
1,599
126
Originally posted by: atom
LOL the answer is already in the 3rd post, and it's the easiest solution too. Modify .htaccess so you can't hot link.

and how would i go about modifying this .htaccess

<---n00b
 

The purpose of them being on (let's just say my for sake of argument) my site is so people can go to my site and view that page and THEN look at the video. not for some whore to post the link on a message board and not look at the site.
In an ideal world....

Like corprec said, edit .htaccess.
Setup a secure server, either web or ftp.
 

RossMAN

Grand Nagus
Feb 24, 2000
78,867
367
136
http://altlab.com/htaccess_tutorial.html

STOP HOTLINKING AND BANDWIDTH THEFT WITH HTACCESS.
Want to stop hotlinkers? Test image hotlink protection for your website? Here is information on using .htaccess to stop hotlinking and bandwidth theft:


HOW DO I STOP HOTLINKING AND BANDWIDTH THEFT?
You can stop servers from hotlinking your site's files by editing the .htaccess file in your site's root directory. (Consult your webhost on accessing your .htaccess file.)

Example: Your site url is www.example.com. To stop hotlinking images from an outside domain and display an image called nohotlink.jpg instead, use this code in your .htaccess file:


RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?example\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(jpe?g|gif|bmp|png)$ images/nohotlink.jpg [L]

To allow hotlinking images only if the REFERER (sic) is from a specific directory from your domain:


RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?example\.com/dir/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(jpe?g|gif|bmp|png)$ images/nohotlink.jpg [L]

To stop hotlinking images from specific outside domains only, named badsite.net and badsite.com:


RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(www\.)?badsite\.net/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?badsite\.com/ [NC]
RewriteRule \.(jpe?g|gif|bmp|png)$ images/nohotlink.jpg [L]

Limit bandwidth usage by returning a 403 forbidden code. Replace the last line of the previous examples with this line:


RewriteRule \.(jpe?g|gif|bmp|png)$ - [F]