Page 1 of 1

Blocking access to a site from the US.

Posted: Tue Oct 31, 2006 11:54 am
by determinedmoth
Hi
I've got to find out how by tomorrow morning.. And I've no idea where to start.

The site is UK based. It doesn't matter if the process isn't bullet-proof. I'm googling as I post this, but any pointers would be a great help.

Thanks.

Posted: Tue Oct 31, 2006 3:10 pm
by RobertGonzalez
Have you looked into proxy servers?

Posted: Wed Nov 01, 2006 1:37 am
by determinedmoth
No...

Posted: Wed Nov 01, 2006 8:26 pm
by m3mn0n
Research GeoCoding

It isn't perfect though, and you may end up blocking legit UK surfers, but it's the most effective solution

Posted: Thu Nov 02, 2006 3:55 am
by determinedmoth
Thanks all.

In the end I found an IP to country database - like this one: http://www.phptutorial.info/iptocountry/the_script.html

I'm pretty sure it's not perfect, but for now it's working. I'll looking into these other suggestions.