osCommerce Security for configure.php

Home » Our Blogs » Software Development » osCommerce Security for configure.php

After a Zen-Cart or osCommerce  installation you may receive the following warning:

“Warning: I am able to write to the configuration file: /home/user/public_html/includes/configure.php.”

The configuration file holds information about the installation including the database password access information. If the file is writable, it may be possible to make changes to it that would break the shopping cart. So, it is important to keep this file and its admin/includes location secure and unwriteable from any changes.cPanel File Manager   In order to fix this osCommerce security issue you can follow these steps:

  1. Log in your cPanel and go to the File manager.
  2. First navigate to your store’s directory and then go to the includes directory where you will find the configure.php file.
  3. Click on the file in question and from the top right menu change its permissions to 444

You will also have to change the permissions of /admin/includes/configure.php in your store’s admin/includes directory. There will be no warning for this file in a stock osCommerce installation. It is best to be safe by checking it every time you see this message.padlock If you don’t have cPanel hosting for osCommerce, you can change the permissions using any FTP client (list of setup guides to various ftp clients) or submit an issue to your hosting provider. We’ll cover many more procedural steps for osCommerce security in 2014.

By |2016-11-04T07:25:40+00:00December 13th, 2013|Categories: osCommerce Online Merchant, Software Development|0 Comments

About the Author:

Mr. David Graham is a co-founder of StrikeHawk eCommerce, Inc. and serves as its President from 2009 to present. He is also a retired nurse and intermediate PHP/MySQL developer.


Loading Facebook Comments ...
Loading Disqus Comments ...