Keep file/folder permission appropriate for file and directory protection
All files should have a proper CHMOD configuration. Preferably,
The most important part of having a secured Joomla website is to set the right permissions for your Joomla files and folders. We recommend that you follow these suggestions for your permissions:
Set the permissions for your Joomla folders to 755
Set the permissions for your Joomla files to 644
Set the permissions for your configuration.php file to 444