Keep safe your Joomla

  • December 25, 2013
  • 0 Comments
There are times that your joomla may be prone to attack by hacker due to some configuration files are stored in plain text. According to joomla guides at http://docs.joomla.org/Security_and_Performance_FAQs#Moving_sensitive_files_outside_the_web_root, you may add these code in your .htaccess to strengthen some configuration files:

<Files .htaccess>
order allow,deny
deny from all
</Files>
<FilesMatch "configuration.php">
Order allow,deny
Deny from all
</FilesMatch>

<FilesMatch "\.(htaccess|htpasswd|ini|phps|log|sh|conf)$">
Order allow,deny
Deny from all
</FilesMatch>

How helpful was this article to you?

Posting has been disabled.