How can I block a Specific IP Address from accessing my Store?
Sometimes you may want to block your site from being accessed by specific connections and IP addresses. Common examples of situations where you might want to block access include:
Blocking IP Addresses
To block IP Addresses from accessing your site, please use the following steps:
To block an individual IP address, add the IP number to both fields (i.e. 192.168.0.1 - 192.168.0.1) and click "Add"
Range of IPs
To block an entire range of IP addresses, add the first IP number in the left field, followed by the last number of the range in the second field. (i.e. 192.168.0.1 - 192.168.0.255) Then click "Add."
At the very top of the page, you will see a field labeled "IP Verification" where you can enter an IP address to see if it matches any of the ranges you have entered for blocking. If the IP address belongs in the range, the system will show you the range that it belongs. to.
Be aware that if the limit of 1000 ranges is met, the import options will not appear.
Block by Country
Shift4Shop also features the ability to block an entire country if needed. This helps to ensure that you will receive no traffic from a particular country if necessary. To Access it, log into your Online Store Manager and go to Settings > General > Block by Country
When first accessing this page, you will see a screen with a description of the page and a button that displays "Block IP By Country". Click on this button to block a country.
In the window that displays, you will see the following options:
After selecting a country, you can press the Add button to add the entry.
Once a country has been blocked, the page will now show a list of any countries that have been blocked along with the comments that were entered. You will have the ability to Add New records using the button at the top, and you can also delete existing records. You are also able to modify the comments on a record and save them.