Solved

vb.net function to check new password's significant uniqueness

Posted on 2012-03-15
2
178 Views
Last Modified: 2012-03-19
One of our new password strength criteria is for the new password to be uniquely different from the old one.  For example I'm trying to prevent things like:
   Old Password: TestPass01
   New Password: TestPass02

I've been looking online all day.  I guess I'm just not using the correct key words in my searches.
0
Comment
Question by:Steve Sirica
2 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 500 total points
ID: 37726400
If you are hashing the password, then you can't.  You can only tell if they are identical, which is the point of hashing.

If you are storing the password, then you should consider storing the hash instead.

Assuming you are storing the password, you could do use a longest common sub-string type of algorithm and prevent instances where the common substring is almost equal to the length of the new password.

http://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Longest_common_substring
0
 
LVL 4

Author Closing Comment

by:Steve Sirica
ID: 37737255
I can make that work.  Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Clone Visual studio 2013 solution 5 24
update textboxes with Streamreader 21 42
vb.net 2 37
Duplicating a tab page content to another in TabControl control 11 40
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now