Knowledgebase

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:

  • Geographical Blocking:
    Your products are not legally available in a specific geographic location. Therefore, you would like to block your store from being viewed in that area altogether.
  • Site Protection:
    Someone is specifically targeting your site with abusive comments and/or reviews. Perhaps they are constantly trying to place fraudulent orders on your store. Block their ability to view your site and avoid any more problems.

Blocking IP Addresses

To block IP Addresses from accessing your site, please use the following steps:

Note
To view the IP Security options, please be sure to enable the "Settings: Advanced General Settings - IP Security" module in your online store manager's Modules page.

  1. Log into your Shift4Shop Online Store Manager
  2. Go to Settings >General >IP Security
  3. Click on "+Add New" at the top right
  4. Add the IP address range information in the provided fields
  5. Click "Add"

Note
The IP Security page has a limit of 1000 IP ranges which can be added to it. After this limit is reached, you will not be able to add additional ranges until ranges are removed to be below 1000.

Individual IPs

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."

Note:
After blocking the IP address, those individuals attempting to access your site will see a "403 Access Forbidden" page on your site.


IP Verification

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.

Tip:
Also note that along the top right of the page, you will have the option of exporting or importing a CSV file of IP addresses to block! The import CSV file can be used for ranges or individual IPs.
(Tip: you will need to have at least one IP or range blocked in order to see the Export/Import button).

Be aware that if the limit of 1000 ranges is met, the import options will not appear.


Help Desk Software by Kayako fusion