Pasword vs. password hash

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
uwes
Posts: 41
Joined: Mon Oct 01, 2012 8:40 am

Pasword vs. password hash

Post by uwes » Mon Oct 01, 2012 10:37 am

Starting with CMSimple XH 1.5.4, the program stores a password hashcode instead of the password itself. However, the settings page now shows the password hash, which might be kind of confusing to most users.

I would suggest to change the input field to type="password" and display a constant number of dots instead of readable text. This could be a constant string like "xxxxxx" which would make it easy to check if the user wants to change the password.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Pasword vs. password hash

Post by cmb » Mon Oct 01, 2012 10:55 am

Hi Uwe,

indeed the current solution is more a quick hack, than a clean solution. It was a result from the desire to implement password hashing as soon as possible, without making too many changes for the revision.

Using a single password input is IMO not a viable solution. If the user wants to change his password and makes a mistake (a typo), then he can't log in to the admin mode anymore. A fix would require changing the password in the config file via FTP.

For XH 1.6 this will change: probably two password inputs (one for the confirmation).

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

svasti
Posts: 1660
Joined: Wed Dec 17, 2008 5:08 pm

Re: Pasword vs. password hash

Post by svasti » Mon Oct 01, 2012 12:57 pm

cmb wrote:two password inputs (one for the confirmation).
I also though we should do this, This also requires a new kind of config view, paving the way for checkboxes and obtion menus. :D

Post Reply