Click here to Skip to main content
15,885,767 members
Articles / Desktop Programming / Windows Forms
Alternative
Article

Simple Password Manager with Google API validation

Rate me:
Please Sign up or sign in to vote.
4.00/5 (4 votes)
15 Apr 2013CPOL2 min read 18.6K   323   10   4
This is an alternative for "Simple Password Manager Using System.Security"

Introduction 

The core engine of this tip can be found here (http://www.codeproject.com/Articles/15750/Simple-Password-Manager-Using-System-Security?msg=4541034#xx4541034xx). For sure, this is a tremendous utility application to manage the different passwords that we need to remember. Furthermore, the simpler approach of the code helps the beginner get a faster and firmer jumpstart into .NET cryptography namespace and security concepts.

This is an extension tip for the primary one (http://www.codeproject.com/Articles/15750/Simple-Password-Manager-Using-System-Security). All original credits to the original author 

Background 

The intent of this extension article is to help it augment the functionality of determining the strength of the password against the industry standard Google's API. The selected password is queried against Google webservice and based on the response received, an appropriate message is shown to the user. Google's Password API is straight-forward and simple. It takes the password as a string (querystring) and returns a number from 1 through 4 indicating poor to strong.  This article uses WebClient.DownloadString to grab the output, determine the strength and show the same to the user.

Using the code

I have also made two other minor changes in the code. Cryptocore.cs declares a few of the members as protected whereas the class itself is declared sealed. This will trigger a compiler warning because the protected access modifier does not sound logical on a sealed class. I have fixed this by changing the access modifier to private. 

I hope that the primary article and the extension would be of good value for developers and users alike.  

Points of Interest

People can consider improving the UI for password entry depending on the webservice' output. I have been using either WebClient DownloadData or DownloadFile hitherto and now I discovered that for simple output, we now have a WebClient.DownloadString that does the trick. Remember but it just returns the body of the response. 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
India India
Vasudevan Deepak Kumar is from Chennai, India who has been in the programming career since 1994, when he was 15 years old. He has his Bachelors of Engineering (in Computer Science and Engineering) from Vellore Engineering College. He also has a MBA in Systems from Alagappa University, Karaikudi, India.
He started his programming career with GWBasic and then in his college was involved in developing programs in Fortran, Cobol, C++. He has been developing in Microsoft technologies like ASP, SQLServer 2000.
His current focus is ASP.NET, C#, VB.NET, PHP, SQL Server and MySQL. In his past-time, he listens to polite Carnatic Music. But the big question is that with his current Todolist backlog, does he get some past time?

Comments and Discussions

 
GeneralMy vote of 3 Pin
Sudhakar Shinde23-Apr-13 5:18
Sudhakar Shinde23-Apr-13 5:18 
GeneralMy vote of 1 Pin
kiquenet.com22-Apr-13 20:25
professionalkiquenet.com22-Apr-13 20:25 
GeneralRe: My vote of 1 Pin
u-li22-Apr-13 21:52
u-li22-Apr-13 21:52 
GeneralRe: My vote of 1 Pin
Gremoire3-Feb-14 1:13
Gremoire3-Feb-14 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.