---
title: "How to Secure Your osCommerce Site with the htaccess/htpasswd"
description: "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..."
url: https://www.inmotionhosting.com/support/edu/oscommerce/how-to-secure-your-oscommerce-site-with-the-htaccess-htpasswd/
date: 2013-04-18
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["OsCommerce"]
type: post
lang: en
---

# How to Secure Your osCommerce Site with the htaccess/htpasswd

[![](https://www.inmotionhosting.com/support/wp-content/uploads/2013/04/edu_oscommerce_101_htaccess_additional-protection.png)](/support/wp-content/uploads/2013/04/edu_oscommerce_101_htaccess_additional-protection.png)

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](/support/edu/oscommerce/oscommerce-admin-login/).
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. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2013/04/edu_oscommerce_101_htaccess_edit-settings.png)](/support/wp-content/uploads/2013/04/edu_oscommerce_101_htaccess_edit-settings.png)
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. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2013/04/edu_oscommerce_101_htaccess_login-via-htaccess.png)](/support/wp-content/uploads/2013/04/edu_oscommerce_101_htaccess_login-via-htaccess.png)
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.” [![](https://www.inmotionhosting.com/support/wp-content/uploads/2013/04/edu_oscommerce_101_htaccess_green-secured-message.png)](/support/wp-content/uploads/2013/04/edu_oscommerce_101_htaccess_green-secured-message.png)

Congratulations, now you know how to protect your osCommerce powered website with the htaccess/htpasswd option.
