WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-01-2004, 01:05 PM
scootertopia's Avatar
WebProWorld Member
 

Join Date: Jul 2003
Location: USA
Posts: 72
scootertopia RepRank 0
Default Help!

I have come under attack by a person who runs some warez and porn sites. he has hot linked to my websites using <IFRAME> and has cost me 12 gigs of bandwidth just yesterday. I have been in contact with my hosting companies and one has been able to block referrers from the offending sites, others cant and require me to pay for the bandwidth. Does anyone know how to deal with this. I have contacted several law enforcement offices local and up to and including the FBI, none are interested. I am beside myself because this individual is effectively shutting my business down. any advice would be greatly appreciated
__________________
Get on a Gas Scooter

Always looking to Trade a site review
Or 2!
Reply With Quote
  #2 (permalink)  
Old 02-01-2004, 03:24 PM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: Toronto, Canada
Posts: 2,193
cyanide RepRank 0
Default

HI scootertopia,

I assume you're meaning they are hotlinking your images ?
If its' the site in your sig, you're on apache, so .htaccess will do the trick.

try this:
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://domain.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
note: replace domain.com with your domain

To create an .htaccess file...
open notepad and save as htaccess.txt (you won't be able to save as .htaccess)
put the code in there as is, replacing domain.com with your own.
upload in ASII to your root directory and change the name to .htaccess
__________________
|
Web Hosting Guru
| Need Help For Your Forum?
Reply With Quote
  #3 (permalink)  
Old 02-01-2004, 03:47 PM
scootertopia's Avatar
WebProWorld Member
 

Join Date: Jul 2003
Location: USA
Posts: 72
scootertopia RepRank 0
Default thanks

Thanks for your time and advice
actually they are linking the entire pages like this:
<IFRAME src="http://www.scootertopia.com/index.htm"
width="17%" height="1%" name="I16" frameborder="0" scrolling="no"></IFRAME>

he has multiple of these on several pages. wil the above fix still work?
Thank you
Mike
__________________
Get on a Gas Scooter

Always looking to Trade a site review
Or 2!
Reply With Quote
  #4 (permalink)  
Old 02-01-2004, 03:53 PM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: Toronto, Canada
Posts: 2,193
cyanide RepRank 0
Default

Yes it should work

If you have cpanel control panel, there is a feature right inside of it
__________________
|
Web Hosting Guru
| Need Help For Your Forum?
Reply With Quote
  #5 (permalink)  
Old 02-01-2004, 04:16 PM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: Toronto, Canada
Posts: 2,193
cyanide RepRank 0
Default

Hi scooter,

Oops, sorry just noticed, I missed something
here it is revised:

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://domain.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|php|html)$
http://www.yourdomain.com/images/getlost.gif[R,NC]
You'll notice the second last line, I added php and html . you'll need that for the page, depending on the extension of your page.
And if you're feeling adventurous, you can add the last line, which you can make. An image to display anything you want, like "This site stole my page"
And that image will replace what they're trying to steal.

YOu might want to take a screen shot of the page that's stealing your page.
You may also want to send a harshly worded email to their ISP. Any respected ISP will jump on it.
You can do a search here www.whois.sc
__________________
|
Web Hosting Guru
| Need Help For Your Forum?
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0