Re: [mod-security-users] Enforce password complexity regex
Brought to you by:
victorhora,
zimmerletw
From: Christian B. <ch...@jw...> - 2009-02-12 16:04:33
|
Am 12.02.2009 um 16:47 schrieb Russell Reynolds: > I can't take credit for this one. Thanks RegexBuddy library. This > one requires 8 length, one upper, one lower, and one number. > > ^(?=[a-zA-Z0-9]*?[A-Z])(?=[a-zA-Z0-9]*?[a-z])(?=[a-zA-Z0-9]*?[0-9]) > [a-zA-Z0-9]{8,}$ Nice :-) > does modsec support the lookahead? It shouldn't be a question of ModSec, but of pcre. This can handle lookaheads (positives and negatives), see http://www.pcre.org/pcre.txt Regards, Chris |