why's there no database password in "Global Configuration" screen?

Please see sticky inside.
Locked
User avatar
CirTap
Joomla! Explorer
Joomla! Explorer
Posts: 418
Joined: Mon Dec 12, 2005 5:34 pm

why's there no database password in "Global Configuration" screen?

Post by CirTap » Sun Jul 08, 2007 11:42 pm

Hi,

I'm really curious, repeating the subject: "Why's there no database password field in 'Global Configuration' screen?"
One may enter:
- FTP password
- SMTP password
but not for the database.  ???

That's not only very "inconvenient", as one needs to edit configuration.php to do so, in fact it renders the whole db setting block useless; a db-user usually needs to have a password to connect.
If I have to edit configuration.php manually anyway then there's no need for these fields to appear in global config.

I usually use an "enhanced" db-user account to install Joomla! or an extension, and then flip it back to a generic, restricted "web user" i.e. w/o DROP or CREATE privileges.

Thanks for any reasonable explanation.

Have fun,
CirTap

[edit: updated subject to be more precise]
Last edited by CirTap on Mon Jul 09, 2007 12:33 am, edited 1 time in total.
You can have programs written fast, well, and cheap, but you only get to pick 2 ...

"I love deadlines. I like the whooshing sound they make as they fly by." Douglas Adams

herb200mph
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3592
Joined: Sun Jun 25, 2006 12:12 am
Location: Salisbury, NC/USA (N. of Charlotte)
Contact:

Re: why's there no database password in global config?

Post by herb200mph » Sun Jul 08, 2007 11:49 pm

There is -- at least in my configuration.php file (I've changed the last four items to remove my content):

var $dbtype = 'mysql';
var $host = 'localhost:';
var $user = 'db user name';
var $password = 'db user password;
var $db = 'name of db';
var $dbprefix = 'db table prefix';
Author: Joomla! 5: Boots on the Ground, Volume 1 @ Amazon.com
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training

User avatar
CirTap
Joomla! Explorer
Joomla! Explorer
Posts: 418
Joined: Mon Dec 12, 2005 5:34 pm

Re: why's there no database password in global config?

Post by CirTap » Mon Jul 09, 2007 12:32 am

I was referring to the "Global Configuration" in administrator.

of course there's one in configuration.php  :)

[edit: updated subject]
You can have programs written fast, well, and cheap, but you only get to pick 2 ...

"I love deadlines. I like the whooshing sound they make as they fly by." Douglas Adams

leadict
Joomla! Guru
Joomla! Guru
Posts: 809
Joined: Thu Oct 05, 2006 12:13 am

Re: why's there no database password in "Global Configuration" screen?

Post by leadict » Mon Jul 09, 2007 1:10 am

I think it was removed for security reasons.

There is a old thread discussing that subject:

http://forum.joomla.org/index.php/topic,8057.0.html
"The skill of writing is to create a context in which other people can think" - Edwin Schlossberg.

User avatar
CirTap
Joomla! Explorer
Joomla! Explorer
Posts: 418
Joined: Mon Dec 12, 2005 5:34 pm

Re: why's there no database password in "Global Configuration" screen?

Post by CirTap » Mon Jul 09, 2007 2:09 am

aha, ok. thanx leadict.
I already thought so, but wasn't sure.

stil: why have the FTP password, then?
apparently FTP'ing is not considered a security problem? ;-)

Doesn't really make any sense the way it is now, does it?

Any developers here to answer that?

Have fun,
CirTap
You can have programs written fast, well, and cheap, but you only get to pick 2 ...

"I love deadlines. I like the whooshing sound they make as they fly by." Douglas Adams


Locked

Return to “Joomla! 1.5 BETA 2”