password pattern match

  • Thread starter Thread starter T J
  • Start date Start date
T

T J

hi - i've been asked to require a strong password in my DB
i.e. 8 chqaraqcters, upper and lower case letters, numerals and a special
character .
is there a way to require something like this in a table field?
 
Hi,


To the *field*, add the validation rule


LIKE "*[0123456789]*" AND LIKE "*[a-z]*" AND LIKE "*[<>+-]*"


for having at least one number, one letter and one of the 4 mentioned
special characters.


To the *table*, add the validation rule:


StrComp(UCase([Password]),[Password],0)<>0 AND
StrComp(LCase([Password]),[Password],0)<>0


To get lower and upper case letters. I assumed the field name was password.


Add the appropriate Validation Texts. Add security and data encryption.


Hoping it may help,
Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top