PDA

View Full Version : Anti-Leeching ?


eplus_revenge
05-11-2005, 09:30 PM
Hi,could someone makea hack available for vB3.0.7 and maybe others..
so that someone can post links and stuff,and the vB site..
(example yoursite.com/forum)
but if someone copy and paste's that link or file u wont be able to download..
or something very similar to that!

mholtum
05-11-2005, 09:59 PM
I have the ability thru my hosts cpanel. Not through vb.

LuBi
05-11-2005, 11:40 PM
been there done that, we've had releases for such on older versions.. I;d like to see a similar modification

PLUS

I'd like to see a watermarking script for images hosted on my forums. Similar to that of Cardomain/Sounddomain images.

http://memimage.cardomain.net/member_images/11/web/335000-335999/335598_46_full.jpg

Any chance on either? :up: :down:

eplus_revenge
05-12-2005, 12:11 AM
Lol,how u do that through cPanel dude?

Marco van Herwaarden
05-12-2005, 08:27 AM
There is a hack around for watermarking, try to search.

Same goes for hotlinking i think.

LuBi
05-12-2005, 09:03 AM
There is a hack around for watermarking, try to search.

Same goes for hotlinking i think.

the creator of the watermarking mod actually made two. the first one executed per view slowing down load time for user, the other was applied to every picture on upload which slowed the server. either color of the mod it does it to EVERY picture, we're looking for leeched ie. linked pictures from our forums only.

Tradjick
05-12-2005, 09:36 PM
Simply create an .htaccess file in the folder(s) you want to protect with the following content:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?www.(/)?.*$ [NC]
RewriteRule .*\.(avi|bmp|gif|jpeg|jpg|midi|mp3|mpeg|mpg|png|ra m|wav|wma|wmv)$ [F,NC]

This should prevent from anyone linking from the outside of your domain to your files.

LuBi
05-12-2005, 09:46 PM
Simply create an .htaccess file in the folder(s) you want to protect with the following content:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?www.(/)?.*$ [NC]
RewriteRule .*\.(avi|bmp|gif|jpeg|jpg|midi|mp3|mpeg|mpg|png|ra m|wav|wma|wmv)$ [F,NC]

This should prevent from anyone linking from the outside of your domain to your files.

what is the end result, a dead image? It's nice but I don't have a HUGE problem with leeching but it they do so I want a watermark. In the auto community any new members are welcome, if someone see's a pic with our name on it maybe they'll come out and check the site. :chinese:

Tradjick
05-13-2005, 06:39 AM
Yep, a broken Link will result.

As the watermarking is made upon image upload, the only guess is you have 2 different folders where one is for the originals and one is for watermarked images. Of course, this would mean an increase of data that´s on your server.

Crazy Serb
05-24-2005, 04:27 AM
Simply create an .htaccess file in the folder(s) you want to protect with the following content:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?www.(/)?.*$ [NC]
RewriteRule .*\.(avi|bmp|gif|jpeg|jpg|midi|mp3|mpeg|mpg|png|ra m|wav|wma|wmv)$ [F,NC]

This should prevent from anyone linking from the outside of your domain to your files.

that still doesn't prevent someone from entering the URL into the browser manually and getting to that file... anyone has a solution for that?

Paul M
05-24-2005, 04:39 AM
that still doesn't prevent someone from entering the URL into the browser manually and getting to that file... anyone has a solution for that?Not very likely since that's how a client [browser] fetches the image in the first place, so you would be blocking anyone from actually seeing it at all.

Crazy Serb
05-24-2005, 05:07 AM
Not very likely since that's how a client [browser] fetches the image in the first place, so you would be blocking anyone from actually seeing it at all.

that's what I thought... damn.

vbulletin guys should code something to fix this for once...

Limey-YMR
08-03-2005, 11:11 PM
Simply create an .htaccess file in the folder(s) you want to protect with the following content:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?www.(/)?.*$ [NC]
RewriteRule .*\.(avi|bmp|gif|jpeg|jpg|midi|mp3|mpeg|mpg|png|ra m|wav|wma|wmv)$ [F,NC]

This should prevent from anyone linking from the outside of your domain to your files.

Isn't the fetching of uploaded images on a forum a server side PHP function from attachment.php ?
will this prevent people from having the php fetch them an image uploaded to a forum?
obviously we can't prevent hotlinking to php or we would never get referred visitors, I just want to stop people leeching my jpg car images.