Phemur has asked for the wisdom of the Perl Monks concerning the following question:
My site is hosted remotely by a hosting service, and I don't have access to the MySQL database to change permissions (either mine or someone else's). As is customary, to access the database, I have to pass a user ID and password. But I only have one user ID/password for my database. How do I authenticate my query? I obviously can't give that user ID/password to everyone, and hard coding it in the script goes against every secure computing principle (even if the script is secured).
I'd prefer references to this, if anyone has any, but straight answers are just as good.
Nat
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MySQL CGI Security
by Zaxo (Archbishop) on Oct 06, 2002 at 00:26 UTC | |
|
Re: MySQL CGI Security
by dws (Chancellor) on Oct 06, 2002 at 00:17 UTC | |
|
Re: MySQL CGI Security
by BUU (Prior) on Oct 06, 2002 at 01:27 UTC | |
by dws (Chancellor) on Oct 06, 2002 at 01:41 UTC | |
by diotalevi (Canon) on Oct 06, 2002 at 02:50 UTC |