Firefox PHP

location of config.php

Posted by pzbrawl 
location of config.php
October 21, 2011 06:21PM
The default location is in the web-visible document tree. That doesn't look secure. Is there a simple way to relocate this file outside the document tree?

PB
Re: location of config.php
October 21, 2011 07:23PM
So tell me... what makes it insecure in your opinion? You know the exact location of the config.php for the Phorum forums. Feel free to try to hack your way in.

If you really want to move the file to another directory, then you will have to hack the core code to load the config file from the new location. This shouldn't be too hard to figure out.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: location of config.php
October 21, 2011 08:48PM
> what makes it insecure in your opinion?

?! It's in the document tree. Would be more secure outside it.
Re: location of config.php
October 22, 2011 03:34AM
Not really. Its interpreted php and the user wouldn't see anything when loading it. Beside that there is usually a .htaccess in front of it.


Thomas Seifert
Sorry, only registered users may post in this forum.

Click here to login