Post by MTJ » Sun Mar 30, 2008 1:48 pm

Hi All,

So about to put my shopping cart live and make the necessary .htaccess changes, but I've noticed that in the configure.php file it stores the MySQL database name, username and password as straight unencoded text.

Now the config.php file is obviously crucial, but can the reference in index.php be redirected to the configure.php in the /admin directory? The functions all look to be the same.

Otherwise, any ideas for how to stop people just typing in the url/configure.php, checking the source and getting that MYSQL info? I realise in the scheme of things it is pretty low risk, and there is no *super* sensitive customer info in the database, but it's something I'd like to do if I can.

Any advice greatly appreciated. Thank you!  ;D
Last edited by MTJ on Sun Mar 30, 2008 5:28 pm, edited 1 time in total.

MTJ
Newbie

Posts

Joined
Mon Mar 10, 2008 12:21 pm

Post by MTJ » Sun Mar 30, 2008 5:39 pm

It's all good, I fixed my own problem.  8)

For anyone else who has any problems, http://www.devwebpro.com/devwebpro-39-2 ... Magic.html has some good information. Essentially you just have to fine tune your .htaccess file.

MTJ
Newbie

Posts

Joined
Mon Mar 10, 2008 12:21 pm
Who is online

Users browsing this forum: No registered users and 1 guest