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:
- Login to the Admin Panel for osCommerce.
- Click the Administrators link.
- You will see the users listed toward the bottom. Click the Edit button to the right of your administrator.
- Enter a password in the New Password field, check the box for Protect With htaccess/htpasswd, then click the Save button.
- A box will pop up asking for a username and password, enter the ones you just set, and click the OK button.
- 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.