At times, you may find it necessary to block or ban specific IP addresses from visiting your store. You may want to block people using an IP address if they have placed a fraudulent order or they may have left abusive or negative comments on your website. OpenCart 1.5.x has the ability to ban IP addresses from your website but this option is currently under review. This article provides information on blocking IP addresses through the cPanel and the .htaccess file. You can also more specifically allow customer accounts using the OpenCart Administrator dashboard interface. The steps to enable or disable customers will be listed below.

Blocking IP addresses in the cPanel

IP addresses can be blocked at the server level using the cPanel interface. This allows the server to handle the security instead of the OpenCart application. The .htaccess file allows you to handle large numbers of IP addresses directly instead of using the IP deny manager which allows you add them only one at a time. The video and written tutorial to block IP addresses can be seen here: Restricting access with IP Deny and .htaccess.

Enabling or Disabling Customers in the OpenCart Dashboard

  1. Log into your OpenCart Admin Dashboard.
  2. Hover over the menu bar where it is labeled Sales.
  3. Scroll down, then click on Customers. When the menu pops up to the right, click on Customers once again.
  4. Manage customer interface You will see the list of customers who are currently added to your OpenCart site. Note the Status column. If the customer is Enabled, then they have access to your store front. Click on EDIT on the far right for the specific customer that you wish to change.
  5. Edit Customer status Scroll down to the STATUS option at the bottom of the General tab and click on the drop-down menu to change the status of the customer.
  6. Click on SAVE in the top right corner to save your changes.

Using these options, you can keep unwanted customers from getting to your store front. These options allow you to manage specfic customers or prevent access by groups using the .htaccess file.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!