homepage Welcome to WebmasterWorld Guest from 50.16.166.175
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library : Charter : Moderators: phranque & physics

Webmaster General Forum

    
Prevent unauthorized domains from using my IP
Tonearm




msg:4544008
 12:29 am on Feb 9, 2013 (gmt 0)

I was looking over my code and I realized someone could point an arbitrary domain name of their's at my IP and cause visitors to their domain to interact with my site. I set it up so apache serves an error page if this happens but I'd rather prevent my server from responding to a request like that at all. Is there anything I can do?

 

phranque




msg:4544086
 7:22 am on Feb 9, 2013 (gmt 0)

I set it up so apache serves an error page if this happens ...

how did you implement this?

... I'd rather prevent my server from responding to a request like that at all.

you mean something like a firewall solution?
you would have to inspect the request to find the requested hostname.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved