htaccess authorization requiredIn this tutorial we will show you how to protect your osCommerce website using the htaccess / htpasswd means. After installing osCommerce, you may see a message stating "This osCommerce Online Merchant Administration Tool installation is not additionally secured through htaccess/htpasswd means," which can be corrected in the Admin panel of osCommerce.

This htaccess/htpasswd protection creates an additional layer of security that can help stop people from attempting to access the Admin portion of your osCommerce eshop. This is because they would have to get through this first layer of password protection before they could even attempt to access your osCommerce Admin panel.

How to Secure Your osCommerce with htaccess Password Protection:

  1. Login to the Admin Panel for osCommerce.
  2. Click the Configuration option in the navigation menu, then select Administrators.
  3. You will see the Administators listed, select the first one on the list, then you will see a menu appear to the right.
    Username This will list the name of the Administrator.
    New Password Enter a password in this field, be sure to write this password down, as it will be required for logging in after you save this setting.
    Protect With htaccess/htpasswd Check this box to enable htaccess protection.
    After making your selections, click the Save button. You will see a notification stating "This osCommerce Online Merchant Administration Tool installation is additionally secured through htaccess/htpasswd means."
    Now when you attempt to access your Admin area, you will be prompted for a username and password, before you get to the Admin login page. So you will have to enter your username and password twice, once to get to the osCommerce Admin page, and again to login to osCommerce.

    Congratulations, your osCommerce website is now protected using the htaccess / htpasswd method.
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

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

Did you find this article helpful?

Post a Comment

Email Address:
Phone Number:

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

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!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.