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.
    OptionDescription
    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."
    secured
    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?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm John-Paul Briones, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. Google Adwords Credit Link Doesn't Work in AMP
  2. my email is being rejected
  3. Can I run the FiverrScript on my hosting

Support Center Search

Current Customers

Email: support@WebHostingHub.com 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.