| 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.
|
|
|