Re: Re: Is "Function Constants" the Correct Term?
| From: | Skippy | Date: | Sun, 18 Jul 2004 14:41:49 +0000 |
| Subject: | Re: Re: Is "Function Constants" the Correct Term? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190919@lists.php.net to get a copy of this message | ||
On Sun, 18 Jul 2004 05:44:21 -0400 Jason Barnett <jasbarne@indiana.edu>
wrote:
> If you're trying to protect your login credentials, you could create a
> class for performing mysql actions. Then put the credentials into
> private/protected members or constants.
How does that protect them? Ultimately, the credentials are still plain text
in the source. Nothing you do from PHP's point of view will protect them from
someone who has access to the source or can inject code into yours.
--
Skippy - Romanian Web Developers - http://ROWD.ORG