leon1p
Suspended / Banned
- Messages
- 884
- Name
- Graeme
- Edit My Images
- Yes
When using software like Joomla, phpBB etc any database information is stored in a config.php file which is then chmod'd to prevent anuathorised access.
Now I have just installed software which does the same but does not chmod the php file with the assumption that if the server is setup correctly it will never pass the information contained to the browser..
Is this really correct? I've seen sometimes when a bug happens when opening a page it will actually display the php code in error and if it happened to be my password file it would be their for everyone to see.
What is a good level of CHMOD for such a file?
Currently it is 604

Now I have just installed software which does the same but does not chmod the php file with the assumption that if the server is setup correctly it will never pass the information contained to the browser..
Is this really correct? I've seen sometimes when a bug happens when opening a page it will actually display the php code in error and if it happened to be my password file it would be their for everyone to see.
What is a good level of CHMOD for such a file?
Currently it is 604
