2007 February 3
Dan Entous
I recently started to work with Joomla! and came across an issue that concerned me while running it on a Linux webserver. It looks like Joomla! requires that all files and folders be installed with the webserver being the owner of them and the configuration file with the database username and password, the Joomla! secret word and other key information is being installed in the public_html folder - both of these situations can create a security risk:
These default Joomla! set-up choices do not guarantee an attack but do leave the files more open to attack than necessary.
If you understand a bit about PHP, FTP and file/folder structure/permissions on a Linux webserver then the set-up described in these videos may help you overcome these potential security threats. I have not had time to fully test the set-up described but thus far it has worked without issue. I am able to create content and upload templates via ftp rather than via the Joomla! Template install method and both functions work.
These videos require Adobe Flash in order to view them. If you don't have it you can download and install it from their website. I've used Macromedia DreamWeaver 8 while working on the files but you can also use any other code editor and ftp program to accomplish this set-up.
Install Joomla
Turn Registered Globals Emulation Off
Move the configuration.php file
Moving/Renaming the configuration.php file can help protect your configuration but it does pose a few issues: