12 tips and tricks to enhance Joomla Security
Written by David Hoang
Tuesday, 08 January 2013 09:32
Tuesday, 08 January 2013 09:32
Joomla is becoming one of the most popular websites Content Management System (CMS) with hundreds of millions of Joomla websites and thousands more be built every day, it isn’t surprising if many hackers want to attack it. In fact, there were many Joomla websites which were defaced because of the ignorance of their administrators.
However, you don’t need to worry!
In this tutorial, we will show you several tips and neat tricks, which will keep your Joomla website safely.
1. Backup data
Take time to make a troubleshooting plan before your site visited by hackers. You always remember: “Backup early and often” to protect your data. This gives you the certainty that if something goes wrong with your Joomla website, you can restore it at any time you want. Then you only need to find vulnerabilities on a website.
2. Update Joomla
If your website is running Joomla 1.0 or 1.5, you should upgrade to Joomla 2.5 or 3.0. In the higher versions, there are many security improvements in the core elements of the application. However, you should do with caution “always backup your Joomla before proceeding with the upgrade”. For more information, you can check Joomla tutorial.
3. Careful management of installed extensions.
The extension of third-party make Joomla extremely popular, but it’s also a way to enter your website. In addition, you need to update regularly for each different extension. So, you should consider that expansion is really necessary.
Make sure the following steps:
- Run code review for any extension used.
- Review Vulnerable Extensions List to make sure any 3rd party extensions versions used appear on the vulnerable list.
- Update and patch for extensions when it’s necessary.
Remember that an extension, which isn’t safe, can be harmful to your entire website.
4. Remove unused files.
You install many extensions, but don’t use them? This is not only a weakness but also garbage for your website. Please use the uninstall function to totally get rid of the extension to avoid trouble.
5. Password protection:
The hacker usually attacks on weak passwords. You should regularly change your password and use all: uppercase, lowercase, special characters, numbers.
The database is very important. The SQL injection attack or any other attack on the database can make your effort lost. Make sure that your database access is protected at MySQL.
6. Use URLs search engine friendly:
Always use URLs search engine friendly. This not only improved the website's Google ranking but also prevent hackers exploit to use Google’s search results.
7. Change URL for administration security.
Standard Joomla address is http://www.yoursite.com/administrator. In order to secure your site against attack, you can rename it to be something like http://www.yoursite.com/administrator?wewroi4459
8. Remove version number, name of extensions.
Most of vulnerabilities only occur in a specific release of a specific extension. This is why you should remove the information about the version number of any extension is installed. Remove the version number may prevent an attack before it can happen.
Showing My Extension version 2.5 is really bad thing. You can modify this message with only the name of the extension by doing the following:
- Retrieve all files of the extension from your server
- Open up Dreamweaver.
- Load any file from the extension that you just downloaded to your local machine
- Use the Search function and set the search to Search through specified folder. Navigate to the folder where you downloaded the exploit.
- Set the search term to "My Extension version 2.5" and press OK.
- When found the correct file, remove the version number.
- Upload the changed file to your server and check if the changes are made.
9. Use the correct CHMOD for each folder and file
Setting files or folders to a CHMOD of 777 or 707 is only necessary when a script needs to write to that file or directory. All other files should have the following configuration:
• PHP files: 644
• Config files: 666
• Other folders: 755
10. Change your .htaccess file:
11. Turn off Register_globals
You should turn off Register_globals, however, you must know that it can disable PHP script to work and maybe affect other programs that you are using on the website.
To make it, you just edit the php.ini file in the root directory of your domain name.
12. Review and action Security Checklist:
These checklists will point you in the right direction and inform you of typical security. So, make sure you went through all of the steps.
Hope you get more useful information!
If you have more tips to enhance the security of Joomla, let’s share with us!
Read 1833 times
Published in Tutorials and Case studies
Leave a comment
Make sure you enter the (*) required information where indicated.
Basic HTML code is allowed.
Latest from David Hoang
Become a FAN on Facebook
[Images] Preview Joomla! Template with Flower Delivery theme
26 July 2012, 09:07
[Preview] Looking forward to SJ Fashion Responsive
12 October 2012, 11:10
[Preview] SJ Agriculture - Joomla! Template coming out soon
22 May 2012, 14:05
Quickstart package for Joomla templates - what is this and how to install it?
21 March 2012, 15:03
SJ AppStore - Special J!2.5 Template for ecommerce stores
27 September 2012, 17:09
10% off 20% 20% off 30% off 40% off compatibility coupon discount easter FaceBook fanpage features Free freebies guide halloween joomla Joomla! Joomla! 2.5 Joomla! quickstart Joomla! template joomla 2.5 joomla 3.0 joomla 3.0.0 joomla 3.0.1 Joomla Security Joomla seo joomla update joomla version like us media queries membership News Plugin promotion responsive design responsive web RWD save up Security SEO SJ templates smartaddons sobipro suggested posts Template tips trick update WRD