Webinova Online Customer Support > Webinova Help Desk > Knowledgebase

Search help:

How do I block direct web access to important Joomla files using .htaccess file?


Protecting the critical Joomla files from being accessed directly over the web is an essential aspect of your website’s security.

Add this code to your .htaccess file in order to protect your Joomla’s configuration.php file and your .htaccess file from direct access via web:

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

Was this article helpful? yes / no
Article details
Article ID: 290
Category: General Joomla FAQ
Date added: 2012-12-11 15:30:19
Views: 19
Rating (Votes): Article rated 3.0/5.0 (6)

« Go back

Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid