470,614 Members | 1,429 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,614 developers. It's quick & easy.

password requirements

Hello.. I'm trying to come up with a good way to have password requirements
(i.e., length, Upper/Lower case mix, x number of Alpha, x number of numeric,
etc.) configurable by installed site.

The two customers that I'm working with on this app right now have 2 very
different password requirements, I'd rather not have to re-write the signup
and login page for each customer.

I'm working in classic ASP, but .. ASP.NET is not out of the question.

Does anyone have any good insight? Good links?

Thanks!

Jul 19 '05 #1
4 2010
On Mon, 24 Nov 2003 16:53:41 -0500, "Bryan Harrington"
<ne**@psacake.com> wrote:
Hello.. I'm trying to come up with a good way to have password requirements
(i.e., length, Upper/Lower case mix, x number of Alpha, x number of numeric,
etc.) configurable by installed site.

The two customers that I'm working with on this app right now have 2 very
different password requirements, I'd rather not have to re-write the signup
and login page for each customer.

I'm working in classic ASP, but .. ASP.NET is not out of the question.


Write the code to support any number of these types of requirements
and set flags in the database to require any number of them...

MinLength = 0 ' No minimum length
MinLength = 10 ' at least 10 chars long
ReqireMixCase = True
RequireDigits = True
RequireChars = True
RequireNonAlphaChars = True
ExpirationDays = 0 ' No expiration
ReminderDays = 0 ' No reminder period
AllowSpaces = False

etc, etc

Jul 19 '05 #2
"Bryan Harrington" wrote ...

[..snip..]

I'd concur on Dans posting with regards to this - we've written a single
login application (if you can call it an application as such) for our secure
applications within our organisation in the NHS.

We have the same as Dan points out along with whether or not special
characters are allowed on so on - it means you can customise it per
application/client or whatever...

Regards

Rob
Jul 19 '05 #3
So do you then create RegExp on the fly based on whats in the database? Or
are you using a series of functions and a series of

if x = y then go do function z?

Thanks!
"Dan Brussee" <db******@nc.rr.com> wrote in message
news:nn********************************@4ax.com...
On Mon, 24 Nov 2003 16:53:41 -0500, "Bryan Harrington"
<ne**@psacake.com> wrote:
Hello.. I'm trying to come up with a good way to have password requirements(i.e., length, Upper/Lower case mix, x number of Alpha, x number of numeric,etc.) configurable by installed site.

The two customers that I'm working with on this app right now have 2 very
different password requirements, I'd rather not have to re-write the signupand login page for each customer.

I'm working in classic ASP, but .. ASP.NET is not out of the question.


Write the code to support any number of these types of requirements
and set flags in the database to require any number of them...

MinLength = 0 ' No minimum length
MinLength = 10 ' at least 10 chars long
ReqireMixCase = True
RequireDigits = True
RequireChars = True
RequireNonAlphaChars = True
ExpirationDays = 0 ' No expiration
ReminderDays = 0 ' No reminder period
AllowSpaces = False

etc, etc

Jul 19 '05 #4
"Bryan Harrington" wrote ...
So do you then create RegExp on the fly based on whats in the database? Or
are you using a series of functions and a series of

if x = y then go do function z?


In what we use I have a series of If...Then's - because I have no idea how
to us regular expressions :D

With ours I also set error flags and messages to send back to the form to -
which is quite handy to give the users an idea of whats gone wrong and why

My.Pa55w0rD

isn't valid :o)

Regards

Rob
Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by David C. Holley | last post: by
2 posts views Thread by Sigi | last post: by
4 posts views Thread by Jonathan Dienst | last post: by
9 posts views Thread by kwindham | last post: by
1 post views Thread by Mariano Mara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.