Joomla!: Moving sensitive files outside the web root (Joomla 1.5)

joomla_hackedAs a web developer, one of the worst things that can ever happen to you are woken up in the middle of the night by an aggravated client whose site you manage, and have him tell you that his site has been hacked and there is a black Mario smiling back instead of the crisp and clean home page your worked tirelessly to perfect. To make matters worse, you try login to the admin side of the Joomla! installation and your password does not work anymore! If your are really unlucky and the hacker wanted to finish you off, you find your database gone! (This has actually happened to me! Damn you silly Iranians! Thank God for backups!).

Continue reading