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?
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?
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
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.![]()
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.
Originally posted by: sygyzy
Where would you enter this referrer information?
Originally posted by: sygyzy
Where would you enter this referrer information?
In an ideal world....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.
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]