$0 option:
Put your user ID and password in a config file, then give only the
webserver user access to it. Read the config file to make it work. This
also allows easy switching between test and production environments.
You can't change the group owner of a file unless you have root.
That
8:56 AM
To: PHP Database List
Subject: Re: [PHP-DB] How can you hide database login passwd in your
script?
That does not stop another php user fopen'ing your config file.
This is a point that needs to be stressed. The other posts about keeping db
connection info outside of the web tree
At $2400.00 per license, Zend Encoder is an expensive option
-Original Message-
From: Lars B. Jensen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 02, 2001 1:00 AM
To: rbtree
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] How can you hide database login passwd in your
script
needed to ruin your database?
- seb
-Original Message-
From: grant [mailto:[EMAIL PROTECTED]]
Sent: 04 September 2001 17:20
To: Lars B. Jensen
Cc: Rick Emery; rbtree; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] How can you hide database login passwd in your
script?
The 600$ alternative
http
a .php file is only viewable on the server if users have access to the site
through eg. FTP, Telnet or alike. When displaying or trying to download a
PHP file, the server will first execute it and return the result being
your HTML output or result of function, without login information nor PHP