1) Set Write Permissions for Files on Your Site
Set the chmod (write permission) value to 404 if the file exists for your site. You can also make folders 505 in the same way. If your site has a file or folder that is called from a server, it can make a maximum of 604 and a folder of 705. Of course, you may need to be more flexible in exceptional cases.
Warning: Never and never make the chmod value 777. This creates a very extreme security vulnerability and is unnecessary.
If your site has critical configuration settings, update the .htaccess and Config files to 404.
So Why chmod Settings Should Be Considered?
If you configure Chmod settings well, hacking is reduced and nobody can easily damage your files and folders. What is important here is to minimize the risk.
Rather than changing your files, you can try to include their own backdoor-style viruses in your server or hosting and open a door for them. In this regard, well-structured chmod settings are very useful.
Of course, there are advantages as well as disadvantages. For example, you add a module to your site, but you may need to stretch the file permissions for the module. So you need to take some time to play with the file permissions again.
2) Prevent Hard Passwords
To create a strong password, do not use only special characters or only letters or only special characters.
The robust password definition as standard includes both letters, numbers, and special characters.
Apply large-small combination when entering letters.
Your date of birth, T.C. Do not create passwords with known data such as your identification number or phone number. You make it easier for people who know you.
Warning: If you do not have a .htaccess file, create it or edit it. For help with this, you can leave a message to our support bank or get help from the security specialist.
3) Use Original Software
Make sure that the scripts you use on your site are provided from trusted locations. You can have robust and secure software with small costs. Stay away from pirated software if you don't want your head aching with such problems in the long run.