Mobile app version of vmapp.org
Login or Join
Shanna517

: Verifying that a user is from a certain country I'm helping a small non-profit with their website and we are going to have a login and membership system where we need to verify that a user

@Shanna517

Posted in: #Authentication #CountrySpecific #Drupal

I'm helping a small non-profit with their website and we are going to have a login and membership system where we need to verify that a user is from a certain country. How can this be done? We are going to use Drupal 7 or possibly WordPress if there is a better solution there

What we have been thinking about so far is using SMS verification when signing up and then checking the country code, but it would need to be cost-free since otherwise a lot of money could be lost for the organization if the verification is done automatically

Thoughts, ideas, other suggestions?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shanna517

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

Here is a simple thought, when signing up have a field that that forces them to pick from one of the selected countries you speak of.

The reality is, anyone that is criminal minded will have no problem faking an Ip or most any other block you place in front of them. A VPN can easily bypass anything you put in place restricting IP's.

I have seen people use htaccess to block countries and/or only allow certain countries but that code can grow to 4megs+.

If you want to use that route and are uncomfortable generating the list, you can use an online generator like found here.
incredibill.me/htaccess-rewrite-wizard
Note: You can get country code lists from here. www.ip2location.com/blockvisitorsbycountry.aspx

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme