The first time you access the Administrators section in the admin panel for osCommerce, you will see a message stating "This osCommerce Online Merchant Administration Tool installation is not additionally secured through htaccess/htpasswd means. Enabling the htaccess/htpasswd security layer will automatically store administrator username and passwords in a htpasswd file when updating administrator password records."

In this guide we will show you how to protect your osCommerce powered website with the htaccess/htpasswd means.

Securing osCommerce:

  1. Login to the Admin Panel for osCommerce.
  2. Click the Administrators link.
  3. You will see the users listed toward the bottom. Click the Edit button to the right of your administrator.
  4. Enter a password in the New Password field, check the box for Protect With htaccess/htpasswd, then click the Save button.
  5. A box will pop up asking for a username and password, enter the ones you just set, and click the OK button.
  6. Instead of the red warning message, you will now see a green message stating "This osCommerce Online Merchant Administration Tool installation is additionally secured through htaccess/htpasswd means."

Congratulations, now you know how to protect your osCommerce powered website with the htaccess/htpasswd option.
Continued Education in Course 203: Adding security to osCommerce
You are viewing Section 2: How to Secure Your osCommerce Site with the htaccess/htpasswd
Section 1: How to Secure the configure.php File for osCommerce
Section 3: Securing your osCommerce contact form with the Simple Captcha Add-On
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!

Support Center Login

Social Media Login

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

Email Address:
Phone Number:

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

1 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


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:
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!