Table of Contents
While open source shopping carts are great, one of the downsides is that everyone can access the core code to understand how it works. In a few simple steps, you can improve the security of your store from hackers without affecting your site’s ability to function.
Security Steps
- After installation, you should remove the /install/ directory immediately. You can do this through any FTP program. If you are not familiar with FTP please read our article.
- Change the file permissions for the config.php file in both the root directory and the /admin/ directories to 444. Please see our article on file permissions if you are not familiar with them.
If you need further assistance please feel free to ask a question on our Support Center website.
If you’re interested in learning more about hosting OpenCart, make sure to checkout our web hosting options at the InMotion OpenCart Hosting page.
I can change permissions on files and folders but have to go into each folder to change the permissions of its contents. Is there any way to recursively change permissions with the web interface? Doing it manually will take a considerable amount of time.
found a script snippet on php.net that does a fantastic job. posted by hkuppens.