Re: VB Code to validate password strength



Can anyone tell me or point me to a code which validates the password
field?
The password field should be matching this rules before it is submitted
1. Password should be a minimum of 8 characters.
2. Password should not contain characters which repeat.
3. Password should contain a special character.
4. Password should not begin with a number.
5. Password should start with a Capital alphabet.
6. Password should contain a number.

I think this function will do what you want...

I don't think I would have been so generous as to provide a complete
function. <g> It didn't sound to me like Rajesh even made an attempt at
writing this himself. I was about ready to reply back asking "what have
you tried? what are you having difficulties with?", but I guess there's
no point now. <g>

Hey, what can I say... I'm a nice guy. <g> Seriously though, I didn't think
the solution (at least the one I provided) was all that obvious for someone
not familiar with the Like operator; and if the OP was familiar with this
operator, I don't think he would have had the problem he did.

Rick


.



Relevant Pages

  • Re: VB Code to validate password strength
    ... The password field should be matching this rules before it is submitted ... Password should not contain characters which repeat. ... It didn't sound to me like Rajesh even made an attempt at writing this himself. ...
    (microsoft.public.vb.general.discussion)
  • Re: VB Code to validate password strength
    ... The password field should be matching this rules before it is submitted ... Password should not contain characters which repeat. ... Rick ...
    (microsoft.public.vb.general.discussion)
  • Re: brute-force estimation
    ... characters, numbers and basic punctuation. ... Assuming 80 valid symbols in the password field and a length of exactly 20 ... As for your second point - yes the maximum time for decryption of a message* ... output - otherwise you can't be sure that you have the correct message. ...
    (sci.crypt)
  • Re: Dial-Up Connection Problem In Internet Explorer 6
    ... Internet Explorer. ... Tab-Settings-and look at the Password field to discover that it has too many ... characters in it, so I change it to the correct password and click OK and OK ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • VB Code to validate password strength
    ... Can anyone tell me or point me to a code which validates the password ... The password field should be matching this rules before it is submitted ... Password should not contain characters which repeat. ...
    (microsoft.public.vb.general.discussion)