Support

Admin Tools

#42893 .htaccess files

Posted in ‘Admin Tools for Joomla!’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
5.4.2
PHP version
8.3
Admin Tools version
7.8.7

Latest post by nicholas on Tuesday, 21 April 2026 17:00 CDT

Lavers69

I have been subject to a malware hack on my site www.golanguedoc.com. We think we have it under control and we have deleted most of the suspicious files. I have now updated all of my plugins and components and I have just installed the Admin tools Pro and run the quick set up wizard. I was about to run the .htaccess maker when the hosting support contacted me and told me that a scan had revealed a whole bunch of .htaccess files inserted into various directories (which all looked suspicious). I have removed most of them, but I am hesitating on removing the last few of them because they are all under the components/com_akeeba and components/com_admintools. I wonder if they relate to this .htaccess maker function. The files all seem to have the same content

<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
<RequireAll>
Require all denied
</RequireAll>
</IfModule>

 This is the list of the files identified in the security scan (which I haven't yet deleted). Would you expect these directories to have .htaccess files? 

 

./administrator/components/com_admintools/src/Scanner/.htaccess

./administrator/components/com_akeebabackup/tmpl/.htaccess
./administrator/components/com_akeebabackup/sql/.htaccess
./administrator/components/com_akeebabackup/platform/.htaccess
./administrator/components/com_akeebabackup/backup/.htaccess
./administrator/components/com_akeebabackup/vendor/akeeba/engine/engine/.htaccess
./administrator/components/com_akeebabackup/language/.htaccess
./administrator/components/com_akeebabackup/src/.htaccess
./administrator/components/com_akeebabackup/forms/.htaccess
./administrator/components/com_akeebabackup/services/.htaccess
./administrator/components/com_akeebabackup/installers/.htaccess

./components/com_akeebabackup/language/.htaccess
./components/com_akeebabackup/src/.htaccess

 

Thanks for your help

 

Iain Laverock

nicholas
Akeeba Staff
Manager

This is one of the few cases where I will tell you to please do use generative AI to understand what that .htaccess file does. I recommend using duck.ai which is free.

You will see that this .htaccess deliberately prevents the files in these folders from being accessed directly over the web. All these folders are indeed files which do not need to be accessed directly over the web, only through Joomla itself. This is why I have deliberately placed these .htaccess files there.

Another simple way to verify it is to inspect the contents of the installation package we ship.

Another even simpler way to verify this is to create a new, blank Joomla site and install Akeeba Backup. You will see that these .htaccess files with these contents are indeed there, verifying they are legitimate and deliberately placed there.

There you go! Three ways to prove these files are legitimate and ease your mind :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Lavers69

Thank you Nicholas. I appreciate your response.

nicholas
Akeeba Staff
Manager

You're welcome! Have a fantastic evening!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!