Topic: Possible to encrypt MySQL password in config.php
Is it possible to encrypr the MySQL password in config.php ?
Btw great forum!
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 discussion → Possible to encrypt MySQL password in config.php
Is it possible to encrypr the MySQL password in config.php ?
Btw great forum!
No. The only thing that comes to mind is code obsfucation. There are a few PHP code obsfucation tools. Here's one:
well if you encrypt the password then it can't be used to access the database can it?
Well maybe it is an option for one of the next releases. Because everyone can see my password now if they download the config.php file. And if they know my password, the can log in to the database....:'(.
But config.php can't just be downloaded. You would need FTP access for that.
Maybe he share his site with a friends .
how could it be encrypted and still used? and if it is encoded anyone who knew where to get it could know how to decode it :S
The way I got round things was to rename my config.php as forum_config.php and stick it in my cgi-bin.
Then I just modified config.php in my forum root directory to include this file.
I've done this with all my config files for different apps and it keeps passwords, etc. away from prying eyes.
which prying eyes?
Anyone who was determined.
I would consider any file below htdocs to be accessible to someone who was intent on getting info.
hmmm i seriously doubt it.. otherwise all the php sites on the net would constantly be being broken into
so why would moving it into cgi-bin help?
PunBB Forums → PunBB 1.2 discussion → Possible to encrypt MySQL password in config.php
Powered by PunBB, supported by Informer Technologies, Inc.