How to block users from accessing a file

apn3a

New Member
In my php-mysql website, I have files that I do not want the user to be able to request directly or download or read through file_get_contents, e.g files containing database password.
How do I do this?
 
Back
Top