How do I ban/allow certain countries?

4 replies
Hi guys,

Not meant to be jackass'ish or anything, but I only want certain countries viewing a certain landing page of mine from my email traffic.

What's the best & easiest way to do it?

To either ALLOW certain countries (US,CAN,UK,AUS,NZ,MX,ETC)
or NOT ALLOW countries? (Basically countries with lots of fraud/no money)

Thanks!

Steve
#ban or allow #countries
  • Profile picture of the author Floyd Fisher
    IP addresses is the only way I know of to do it. I wish there was more we could do, but alas, I don't know of any other tech that can.
    {{ DiscussionBoard.errors[184714].message }}
  • Profile picture of the author kazakhan
    You could try www,countryipblocks,net (i can't post links yet) i haven't used it so cannot vouch for it...
    {{ DiscussionBoard.errors[184759].message }}
  • Profile picture of the author Sean Donahoe
    Throw this in your .htaccess file. This is what I use on one of my eCommerce stores. It blocks a lot of fraud servers.

    Code:
    <Limit GET POST>
    
    deny from .id
    deny from .interpacket.net
    deny from .lt
    deny from .mk
    deny from .my
    deny from .ro
    deny from .yu
    deny from 139.92
    deny from 152.158
    deny from 161.142
    deny from 202.127
    deny from 202.134
    deny from 202.145
    deny from 202.146
    deny from 202.147
    deny from 202.148
    deny from 202.149
    deny from 202.150
    deny from 202.151
    deny from 202.152
    deny from 202.153
    deny from 202.154
    deny from 202.155
    deny from 202.156
    deny from 202.157
    deny from 202.158
    deny from 202.159
    deny from 202.160
    deny from 202.162
    deny from 202.164
    deny from 202.168
    deny from 202.171
    deny from 202.178
    deny from 202.180
    deny from 202.183
    deny from 202.184
    deny from 202.185
    deny from 202.186
    deny from 202.187
    deny from 202.188
    deny from 202.189
    deny from 202.190
    deny from 202.4
    deny from 202.46
    deny from 202.47
    deny from 202.57
    deny from 202.58
    deny from 202.59
    deny from 202.93
    deny from 202.95
    deny from 207.192.198
    deny from 210.14
    deny from 210.16
    deny from 210.186
    deny from 210.19
    deny from 210.56
    deny from 212.138
    deny from 212.19
    deny from 212.50
    deny from 212.59
    deny from 213.169
    deny from 213.240
    deny from 216.3.242.10
    deny from 217.9
    deny from 62.220.194
    deny from 64.110
    deny from 64.49
    deny from 61.5
    Deny from 203.106
    Deny from 203.130.254
    Deny from 208.210.48
    Deny from 208.210.49
    Deny from 208.210.50
    Deny from 208.210.51
    Deny from 211.104
    Deny from 211.105
    Deny from 211.106
    Deny from 211.107
    Deny from 211.108
    Deny from 211.109
    Deny from 211.110
    Deny from 211.111
    Deny from 211.112
    Deny from 211.113
    Deny from 211.114
    Deny from 211.115
    Deny from 211.116
    Deny from 211.117
    Deny from 211.118
    Deny from 211.119
    Deny from 213.137
    Deny from 207.115.179
    #canada fraud server
    Deny from 207.35.39
    #new Indonesia netblock
    deny from 202.138.224
    deny from 202.138.225
    deny from 202.138.226
    deny from 202.138.227
    deny from 202.138.228
    deny from 202.138.229
    deny from 202.138.23
    deny from 202.138.24
    deny from 202.138.25
    </Limit>
    Hope that helps
    {{ DiscussionBoard.errors[184783].message }}
  • Profile picture of the author TheRichJerksNet
    Steve,
    I have a script that can block countries ... Use it on all my sites. Has full admin ability controls, ip tracker, country blocker, ip blocker, generate counter, and admin stats..



    Interested let me know...

    James
    {{ DiscussionBoard.errors[231073].message }}

Trending Topics