472,779 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,779 software developers and data experts.

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 2173
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: David C. Holley | last post by:
Any thoughts on requirements for a password? I've been thinking about the following... Minimum six characters Must contain at least 1 number and at least 1 letter Cannot contain the user's...
2
by: Sigi | last post by:
Hi guys. I am new member in this group. I am also new to Visual C++. I am developing a new system. I have a password to enter the system. The user should have a choice to change his/her password...
0
by: com | last post by:
MS Access 2000 Password Recoverer 4.2 Screenshot - Soft30.com MS Access 2000 Password Recoverer will display the password to a MS Access database (*.mdb). This program works for MS Access files...
10
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
4
by: Jonathan Dienst | last post by:
I have a simple data access and administration page for user details on my site, including a login password -- but I cannot get the textbox to work properly if the TextMode is set to "Password". ...
9
by: kwindham | last post by:
This program doesn't seem like it should be too hard, but I cannot figure it out. Here is the assignment: Password Verifier - Write a program to verify passwords, satisfying the following...
1
by: Mariano Mara | last post by:
Hi everyone. I'm building a script with optparse. One of the parameters will be a password. How can I code the optparse to accept/handle/format the password so that the user does not have to...
2
by: DarthPeePee | last post by:
Hello everyone. I am working on a Password Strength Meter and I am running into 1 problem that I would like to fix. When pressing the "Clear Password & Try Again" button, the password clears...
1
by: ccarter45 | last post by:
I'm new to java and writing a program that accepts user input for a password and it has to meet the following requirements: 1. At least 6 characters long. 2. Leading character can't be a digit....
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.