PDA

View Full Version : Encrypting connect.php


AllKnightAccess
09-23-2004, 12:08 AM
As a request for a new feature, can you have the database info (user name, pw, database name), encrypted, m5 or otherwise, when it writes to the file? That way, the file itself does not contain sensitive info that is easily read by itself. Thanks.

vinyl-junkie
09-23-2004, 04:24 AM
I've done something similar to this myself. I took the database connection and admin user/password, made separate files with that information and put it in a folder that is inaccessible from the web. Then I replaced it with an include file in the appropriate phpdig files. It really wasn't too hard to do.