Welcome to WebmasterWorld Guest from 54.226.246.160

Forum Moderators: phranque

Message Too Old, No Replies

Block users by geographical location?

Is this possible, and is it ethical?

     

nicebloke

8:29 am on Apr 4, 2001 (gmt 0)

10+ Year Member



A client, for genuine reasons, wants to block US users from reaching his site.

I read it was possible to block users by IP using the ht access file..

So next question is, can you block a range of users, and do IP addresses give you any geographical indication?

And, lastly, would this be ethical?

Thanks.

DaveAtIFG

10:00 pm on Apr 4, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Blocking by DNS name would likely be substantially easier since most non-US domain names end in a country code. If you were to block .com, .edu, .org, and .us you'd likely have most of the US visitors. Another approach might be to only allow visitors from selected country codes. There is some overlap, overseas people surfing via US hosts and vice versa. Blocking by IPs is probably impractical simply due to the large number of IPs you would need to identify and filter for. Any of these appraoches can be implemented in the .htaccess file.

I don't see an ethical question at all. A site that advertizes for a mail order business that only services Europe, for example, may wisely choose not to allow visitors from the US to avoid international orders/shipping costs. The person that builds a site and pays the server fees has the right to exclude any visitors he chooses.

sugarkane

10:07 pm on Apr 4, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> for genuine reasons, wants to block US users

If you don't mind me asking, what are the reasons? Would it not be better to sell the US traffic on to someone else through an affiliate scheme or whatever (if possible)?

nicebloke

10:10 pm on Apr 4, 2001 (gmt 0)

10+ Year Member



A fine idea!! Some further discussion required...

Cheers fella.

mivox

10:12 pm on Apr 4, 2001 (gmt 0)

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I don't see an ethical problem, but I see big logistic problems... There's no way to determine who's coming from where all the time. If you block .com/.org/.net visitors, you'll block a lot of non-us folks too. Not to mention, I know our site gets a significant handful of visitors from unresolved IPs, which means you'd also be allowing some US visitors at the same time.

I don't see any reason why you *shouldn't* do it... but I don't see any really effective way that you *could* do it either.

rcjordan

10:22 pm on Apr 4, 2001 (gmt 0)

WebmasterWorld Senior Member rcjordan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I see no problem on the ethics side, but I agree with mivox to a large degree. I believe there would be a significant overkill by restricting access.

sugarkane

10:27 pm on Apr 4, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How do Lycos, Google etc redirect by geography/IP? There's obviously some way of doing it - I'm having dark ideas about transferring non-UK visitors direct to my merchants without worrying about them having to click on a banner... hmm...

theperlyking

11:44 am on Apr 12, 2001 (gmt 0)

10+ Year Member



Don't forget people aren't always who they appear to be, I might not be from the US but there for a day on business, or more likely I might be using a proxy in the US (or may be using a corporate WAN that breaks out to the internet from the US even though I am in the UK).
These situations wont be common but its worth thinking about.

nicebloke

1:29 pm on Apr 12, 2001 (gmt 0)

10+ Year Member



I think we're going to go with sugarkanes affilliate idea - much more sensible!

Yes, for sure, there would be somebody blocked that shouldn't be etc etc not worth the bother I don't think...

Thankyou everybody

 

Featured Threads

Hot Threads This Week

Hot Threads This Month