• Subject: Re: Password Validation API
  • From: Douglas Handy <dhandy1@xxxxxxxxxxxxx>
  • Date: Thu, 04 Jan 2001 22:43:06 -0500


>A problem with Get Profile Handle is that if the password is incorrect, the
>incorrect password count is increased.

If that is perceived as a problem, then you could use Leif's program instead.
Since it does the validation itself, an invalid attempt will not increase the

But before someone crys wolf about being able to use it for unlimited attempts
at brute force cracking the password, I'll point out that it would be much
quicker to just use the password cracker on the Internet.  My PC will test
passwords at the rate of over 8 *million* passwords per *second*.   I don't
think my AS/400 would come anywhere close to that. :(

>A kludge that might work would be ... 

>If the two encrypted passwords match, the password is valid; else, it is

If you compared the entire return value, this logic would fail since the user-id
is part of the encryption method for part of the value returned.  It would be
possible to modify your logic to a method which would work, but Leif's program
is a much easier way to accomplish it without incrementing the count for failed

However, I'd hazard a guess security administrators would rather see the count
get increased...

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.