AbanteCart Community

eCommerce construction => General Discussion => Topic started by: CTGO.co on March 26, 2019, 09:08:09 AM

Title: preventing Access of countries IP
Post by: CTGO.co on March 26, 2019, 09:08:09 AM
Hello,

I would like to know if that's possible to prevent countries due to some reasons from accessing the website as also if that's possible to prevent IP devices from accessing too???

Thank you...

Have a nice day...

Regards
Title: Re: preventing Access of countries IP
Post by: Basara on March 26, 2019, 09:37:29 AM
Hello.

Check your hosting cPanel. It may provide you a featur eto block IPs https://www.a2hosting.com/kb/cpanel/cpanel-security-features/ip-blocker
Title: Re: preventing Access of countries IP
Post by: llegrand on March 26, 2019, 10:46:55 AM
The A2  is good info about blocking IPs,  but for countries you need to obtain the country IP ranges
this article on will help you location some of those resources
https://www.inmotionhosting.com/support/website/htaccess/block-country-ips (https://www.inmotionhosting.com/support/website/htaccess/block-country-ips)
there are several services out there -  and some software that allows for easier country blocking -  do a search on Google for country ip blocks  for some ideas


Title: Re: preventing Access of countries IP
Post by: CTGO.co on March 27, 2019, 09:22:22 AM
Thank you guys, I will try all your advises...


Regards
Title: Re: preventing Access of countries IP
Post by: purvishah on July 12, 2019, 02:00:07 AM
Great Information :)
Title: Re: preventing Access of countries IP
Post by: CTGO.co on July 12, 2019, 12:11:20 PM
you are welcome  :D