Jump to content
  • 0

Is There A Way To Block Countries


mlsto

Question

6 answers to this question

Recommended Posts

  • 0
6 hours ago, MineHarvest66 said:

Agrees, if your blocking countries then you might as well as block people based on their hair and eyes... The OP should understand that discrimination isn't cool.  

Seemed to have ruffed some feathers, it is not always about correctness but about business and how a few spoil so much for others.

Link to comment
Share on other sites

  • 0
1 hour ago, mlsto said:

Seemed to have ruffed some feathers, it is not always about correctness but about business and how a few spoil so much for others.

regarding your question, you can block the ips fro the whole countries with htaccess if you want, but just to note also, frauders use almost of times proxies, you can reach what you want by this online tool https://www.countryipblocks.net/country_selection.php

and you can block some sort of proxies by this .htaccess code

RewriteEngine on
RewriteCond %{HTTP:VIA}                 !^$ [OR]
RewriteCond %{HTTP:FORWARDED}           !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA}       !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR}     !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION}    !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION}   !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP}      !^$
RewriteRule ^(.*)$ - [F]

 

Link to comment
Share on other sites

  • 0

Its possible, You can simply remove any country from country list. I don't know location but you can use "grep" option in your SSH area or Filemanager and search country you wish to block. It will show file location. Then simply remove any country you wish to block from list.

 

I am sure, If anyone who want to place an order don't see their country then they will think that you do not allow their country.

 

I do not support this because of this is discrimination but who can stop you by doing this. Most of fraud orders received from USA but you know that people can use "Proxy" to place order.

 

Can you stop a fraudulent person who want to place order on your system? They can use proxy of different country ;)

 

Link to comment
Share on other sites

  • 0
4 hours ago, mlsto said:

Seemed to have ruffed some feathers, it is not always about correctness but about business and how a few spoil so much for others.

Ethics should always get "first" even when your risk is at stake. For example if your having an absurd amount of "bad" orders it not because it ALWAYS from country xyz. But rather your poor anti fraud filtering means. Not because that country is responsible for it but rather it YOURS responsibly.  

As other says a country filter is just a "speed bump" if someone want to ruin your business/rep they WILL. However losing legitimate orders is WAY easier than adding so many "speed bumps".  

At the end of the day it your business responsibly to use NON discriminating means to filter out fraudulent orders not countries. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...