PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Mod Requests (http://www.phpdig.net/forum/forumdisplay.php?f=23)
-   -   Encrypting connect.php (http://www.phpdig.net/forum/showthread.php?t=1350)

AllKnightAccess 09-22-2004 11:08 PM

Encrypting connect.php
 
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 03: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.


All times are GMT -8. The time now is 11:27 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.