1
ScaRL
Leecher on Request Modification Download modules
  • 2005/11/1 12:14

  • ScaRL

  • Just popping in

  • Posts: 8

  • Since: 2005/1/25


how do i prevent them from able to request modifying on download section and stealing my bandwith?

Resized Image

2
Goober
Re: Leecher on Request Modification Download modules
  • 2005/11/1 12:31

  • Goober

  • Not too shy to talk

  • Posts: 101

  • Since: 2003/3/30


Yip, that sucks.

I use a .htaccess file to thwart it (shrugh)

RewriteEngine On
RewriteCond 
%{HTTP_REFERER} !^http://(www.)?yourdomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .(zip|exe|tar|gz)$ /images/nohotlink.jpg [L]
Dispelling the Mystical belief of Web Standards and tableless CSS.
Nobody gets excited about the tools used to build a house, people get excited about how the house looks and performs

3
Goten02
Re: Leecher on Request Modification Download modules
  • 2005/11/6 1:06

  • Goten02

  • Just popping in

  • Posts: 28

  • Since: 2005/10/2


you can disable modify funtion in you admin panel but they still have another way to get your links anyway

I have huge problem with holink too they used more than on my site so sad.

to Goober: I using the same .htaccess as your I put it in public_html folder but it not work still can link to other site isn't it your work on your site? can you help me with this I realy need to make this thing work
help please

4
Goober
Re: Leecher on Request Modification Download modules
  • 2005/11/6 1:52

  • Goober

  • Not too shy to talk

  • Posts: 101

  • Since: 2003/3/30


Quote:

Goten02 wrote:
to Goober: I using the same .htaccess as your I put it in public_html folder but it not work still can link to other site isn't it your work on your site? can you help me with this I realy need to make this thing work
help please


Put copies of it in the specific folders you want to prevent hotlinking. Dont drop it in your root folder.

That help?

(of course, change 'yourdomain' to .. your website address )

Edit: I suppose I can be a tad more specific
RewriteEngine On
RewriteCond 
%{HTTP_REFERER} !^http://(www.)?yourdomain.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .(zip|exe|tar|gz)$ /images/nohotlink.jpg [L]


1.First line is turning on the rewrite
2. Second line you want to provide details that reflect your domain. (lose yourdomain and put yours in)
3. 3rd line is checking where the request is coming from
4. 4th line tells the file types ( you can replace those with jpg, gif, etc) and the /images/nohotlink.jpg point to a jpg i have in the images folder that is named "nohotlink.jpg".

basically what it does is when a referrer is outside the domain, it sends that "nohotlink.jpg" instead.
Dispelling the Mystical belief of Web Standards and tableless CSS.
Nobody gets excited about the tools used to build a house, people get excited about how the house looks and performs

5
Goten02
Re: Leecher on Request Modification Download modules
  • 2005/11/8 2:26

  • Goten02

  • Just popping in

  • Posts: 28

  • Since: 2005/10/2


thank you Goober I think it work I check on static it given a 404 error all referlink not come from my site thank you very much It going save a lot banwidth this month

Login

Who's Online

425 user(s) are online (363 user(s) are browsing Support Forums)


Members: 0


Guests: 425


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits