Security of your php config file

1

This should be a basic rule known of all, but fact is that it is not...
 
The php config file containing the sql credential is one of the most sensitive file in your website, it has default permission : 644. Optimal and secure permission should be 400 if database is only accessed locally by your website...

This tip can be incompatible with some scripts/CMS

Also Read

Security of your scripts/files

PHP versions used on servers are regularly updated for performances, stability, and especially...

PHP files injection - file uploads ON-OFF

This feature is enabled by default because it is the one that allows you to load images, for...

How to disable Nginx default security rules

You can disable our Nginx security rules temporarily, or permanently : not recommended except for...

IP block by country

On 09/30/2016, due to the persistence of Russian, Chinese, Ukrainian spam traffic and attacks, we...

How to install an SSL certificate

Having a website running with SSL at 100% is highly recommended :- a padlock in your URL...