Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-17-2001, 08:59 AM   #1
AmateurAmber
Confirmed User
 
Join Date: Feb 2001
Location: MI USA
Posts: 127
stop image bots *help*

hey guys, i have messed with .htaccess a bit but i am not having any luck with one particular problem that is becoming quite a drag on my bw.

i am allowing webmasters to hotlink my guestcam (http://www.ambersamateurhardcore.com/webcam/snotrocket.jpg) as part of my partnership program, so i want to allow hotlinkers.

but

i am getting millions of "cam bot" grabs daily. people are setting up bots on my guestcam image in hopes to grab every possible free image that they can. this shows up as a "HEAD" in my access file instead of a "GET". how can i block bots but still allow hotlinkers?

a couple of people have told me it's a simple matter of three lines of code yet nobody can actually scrounge the code up for me. i use a linux set up, if anyone can help me out i would be 4ever in your debt.
AmateurAmber is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2001, 09:18 AM   #2
afrocreep
Confirmed User
 
afrocreep's Avatar
 
Join Date: Aug 2001
Location: ON, Canada
Posts: 1,074
Although i've never actually done it (i suspect i will be soon) there is a apache module called mod_rewrite

http://webmasterfolder.com/learningf...andwidth.phtml

has samples and such, hope it helps.

btw, thats one hot bod

------------------
Come home with me or I'll dispatch my legions of flying monkeys!
afrocreep is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2001, 01:51 PM   #3
dynamite
Registered User
 
Join Date: Aug 2001
Posts: 63
.htaccess ability is from mod_rewrite

Try to block or allow some host based on REMOTE_ADDR, ie. RewriteCond %{REMOTE_ADDR} ^<some ip or ip range>*. You can also use REMOTE_HOST if you work with servers only.

Or you can do this:
Instead of hotlinking, let them link to a php script which modifies HTTP header and .htaccess must be set up to accept only requests with that header. This can work 100% if done properly.

dynamite is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2001, 03:43 PM   #4
afrocreep
Confirmed User
 
afrocreep's Avatar
 
Join Date: Aug 2001
Location: ON, Canada
Posts: 1,074
it could be dangerous, but you could test it for a day put this in either the httpd.conf / apache.conf file or in a .htaccess for that directory

[Limit HEAD]
Order deny,allow
Deny from all
[/Limit]

that should deny HEAD request however it is unknown what the result might be. only one way to find out

------------------
Come home with me or I'll dispatch my legions of flying monkeys!

[This message has been edited by afrocreep (edited 08-17-2001).]

[This message has been edited by afrocreep (edited 08-17-2001).]
afrocreep is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2001, 06:53 PM   #5
AmateurAmber
Confirmed User
 
Join Date: Feb 2001
Location: MI USA
Posts: 127
thanks for the help peoples.

we have been trying stuff all day and the only thing we have accomplished is crashing my server.

i will keep plugging away at it, hehehehe.
AmateurAmber is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.