Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: preventing Access of countries IP  (Read 5493 times)

CTGO.co

  • Guest
preventing Access of countries IP
« 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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: preventing Access of countries IP
« Reply #1 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

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: preventing Access of countries IP
« Reply #2 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
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



CTGO.co

  • Guest
Re: preventing Access of countries IP
« Reply #3 on: March 27, 2019, 09:22:22 AM »
Thank you guys, I will try all your advises...


Regards

Offline purvishah

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • Online Clinical Research Course
Re: preventing Access of countries IP
« Reply #4 on: July 12, 2019, 02:00:07 AM »
Great Information :)

CTGO.co

  • Guest
Re: preventing Access of countries IP
« Reply #5 on: July 12, 2019, 12:11:20 PM »
you are welcome  :D

 

Powered by SMFPacks Social Login Mod