I have root access to the server, and I want to secure my php connection string to a database.
My files are located in /var/www/html/
Is it possible to put the connection PHP script in /var/www/html/connect.php
and save the connection string elsewhere, like in /home/
?
I've played with .htaccess
as well, but not getting to far in my research.