Glossary Item Box

Squirrelcart v6.1.0

sc data folder

Overview

The sc_data folder is used to store files that do not need to be (and should not be) web accessible, including:

 

 

Ideally, the sc_data folder should be located outside your web accessible root folder to prevent others from accessing it via the web. It is highly recommended that you move your sc_data folder from it's default location to one folder above the web accessible root folder.


 

Web Accessible - not secure :(
home
     |__www
             |__index.html
             |__store.php
             |__sc_data
             |__squirrelcart
             |__etc... (all other web accessible files)
Not Web Accessible - secure :)
home
     |__sc_data
     |__www
             |__index.html
             |__store.php
             |__squirrelcart
             |__etc... (all other web accessible files)

 

After making that change via FTP, you'll also need to update the $sc_data_path variable in your squirrelcart/config.php file. For the "Not web accessible" example above, you would set it as follows:

$sc_data_path = '../sc_data';

 

If you do not have access to move the folder, contact your web host for assistance. Please note that not all hosting companies allow you to store files outside of your web root folder.

Important!

If you are unable to move your sc_data folder, use great caution when configuring Squirrelcart. If you create database backups, download them and then delete them. If you use file upload options for your products, make sure you do not allow any script files to be uploaded by your customers (.php,.asp,.pl,.cgi,.jsp,.js, etc...).

 

 


© 2001-2017 Lighthouse Development. All Rights Reserved.