Firefox PHP

location of config.php

Posted by pzbrawl 
location of config.php
October 22, 2011 12:21AM
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 22, 2011 01:23AM
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 22, 2011 02:48AM
> 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 09: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
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Sorry, only registered users may post in this forum.

Click here to login