Click here to Skip to main content
Click here to Skip to main content
Alternative Article

Simple Password Manager with Google API validation

, 15 Apr 2013 CPOL
Rate this:
Please Sign up or sign in to vote.
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)

Share

About the Author

Vasudevan Deepak Kumar
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?
Follow on   Twitter   LinkedIn

Comments and Discussions

 
GeneralMy vote of 3 PinmemberSudhakar Shinde23-Apr-13 6:18 
GeneralMy vote of 1 Pinmemberkiquenet.com22-Apr-13 21:25 
GeneralRe: My vote of 1 Pinmemberu-li22-Apr-13 22:52 
GeneralRe: My vote of 1 PinmemberGremoire3-Feb-14 2:13 

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

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

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141223.1 | Last Updated 15 Apr 2013
Article Copyright 2013 by Vasudevan Deepak Kumar
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid