Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 Next > End >>
Re:Password complexity check for CB?
Date: 2007/08/23 08:34 By: slabbi Status: CB Doc subscriber  
Karma: 69  
Platinum Joomlapolitan

Posts: 1145
graphgraph
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
Click here to see the profile of this user 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
graphgraph
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
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login