|
|
Re:Password complexity check for CB?
|
|
Date: 2007/08/23 08:34
|
By: slabbi
|
Status:
|
|
|
Karma: 69  
|
|
Platinum Joomlapolitan  | Posts: 1145 |   | |
|
beat wrote: I'm really looking for a checking which can be done indendantly in javascript without server communication, and exactly the same implementation available in PHP for server-side check upon submit.
In my opinion the server side check is good enough. The password is checked on the server and if it is not good enough the registration page appears again with a red-marked password field and a notification what is missing, e.g. Attention: - no special char used (use min. one special character in password) - password too short (use 6 chars min.)
It does not make sense to implement javascript checks ONLY, since these checks can be bypassed in a very easy way. Nevertheless these checks might be useful in combination with the server side checking, but they are not really necessary.
The component WebTrooper found seems to do exactly what is needed here except it does not check the first time password from the registration page (unfortunately this is in most cases the only password a user uses).
Password expiration can be saved in CB tables, so no modification of the Jommla user table is required (the component modifies the user table for this which is not a good idea). uddeIM Development CB Language Workgroup CB 3rd Party Developer
|
|
The administrator has disabled public write access. |
|
|
|
Re:Password complexity check for CB?
|
|
Date: 2008/06/18 23:33
|
By: beat
|
Status: Admin
|
|
|
Karma: 238  
|
|
Admin  | Posts: 3995 |   | |
|
FYI: Password (and any other field!) minimum length and reserved/bad words can now be specified in CB 1.2 RC backend edit field . It's not JS yet, but server-based.
Password Complexity checks are still on todo list for future releases. Beat - Developer on Community Builder core Team - If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now  - Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
|
|
The administrator has disabled public write access. |
|
|