Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / database / SQL-Server

SingleSimon - Password Manager Application

2.75/5 (8 votes)
30 Sep 2008CPOL4 min read 1   2K  
An open source password manager with some advanced features and cool interface
Image 1

main.gif

Introduction

SingleSimon is a password manager application which, in addition to storing the sensitive login data in the database, also provides the following functionality:

  1. Auto Retrieving user login data after the user performs a successful login to a website and auto filling that login on the next login attempt.
  2. Filling the entire web form in just one click by using personal data sets.
  3. Storing any type of data that usually is put on "Post – it" notes – Passwords, lock combinations, software serial, etc.

The application was developed as my final project in my Computer Science BSc. degree, at the MTA - Israel (Academit Tel-Aviv), under the guidance of Mr. Kirsh Amir.

Background

When I first thought about the idea of password manager tool as my final project, it sounded like a nice idea and since I only knew basic C#, it was a very nice way of acquiring experience, getting familiarized with SQL and working with the DOM environment - especially hooking to Explorer events.

From the start of this project, I tried to comment my code as much as possible, and I hope this would prove helpful for newcomers.
The project took about two and a half semesters.

Using the Code

To try the program as a user, copy the zipped executables to any folder and just run the main EXE file. Help can be found under the Help menu and through each of the help buttons scattered around the application.
Using the source code is very easy - I try to comment most of my code.
The program requires that the .NET Framework 2.0 will be installed, as well as SQL Express Server 2005.

SingleSimon - Main Features

There are many password managers out there. Mine is unique in a couple of ways:

  1. It is open-source – which means you can use it as is or modify it to your needs or even make it better!
  2. The fact that it gives you complete control over the process of filling web forms makes it ideal for running in the background of your computer and using it to save time and trouble.
  3. It has a very cool interface!

Main Code Elements

SingleSimon Main code elements can be separated to the following groups:

  1. Forms code. Each form contains most of its code.
  2. WebScanLogic code. This handles the detection of fillable forms and user logins.
  3. FillEntireFormHelper code. This code handles the algorithm which fills a webform.
  4. Shared classes – classes which expose static/public methods for general use like the DataBaseHandler which handles the DB layer, the MainLogicHandler which exposes general methods.

Picture Password

The idea behind that part is that most key logger programs monitor the user key presses and mouse clicks. In case the user will login to my application in a hostile environment, his login data will be recorded. My idea, which I got from some old pocket PC application, was to give the user the option to select a picture, select 4 points on top of it so that in the next login only the user name is required. After filling the user name, the user will open the password picture and will click over the four pre-selected points. Key loggers can record the clicks but they will be out of context without the picture. Of course, there are ways to overcome it, but this is only an idea.

Security

Of course, in those kind of applications, security is very important. My application is still growing, and for now, it is not secured. The next instalment will include password protected database that will be encrypted in the code. Note - The encryption class is already included in the source code, but it is still not in use.

User Interface

Since I like to deal with GUI application, nice user interface was a must, so after hours of color matching and icon searching, I came across a website dedicated to free icons - http://downloadpedia.org/Free_Icons_and_Buttons.

Feedback Request

Because this is my first article here, I would very much appreciate any feedback, comments, suggestions and of course bug reports. I will also appreciate it if users can report any experience on other system configurations, especially Internet Explorer 8.

In the Next Versions

Future versions of this program will include the following additions:

  1. Improved WebLogin Detection Engine
  2. Security and data encryption (Almost finished in this version!)
  3. Backup / Restore options
  4. Export to popular formats
  5. Moving to Access DB in order to reduce size and release the pain of needing SQL Express installed
  6. Custom Icons for Data Cards
  7. Tool Tips
  8. Suggestions from users?
  9. And last but not least: fewer bugs…

History

  • September 20, 2008 – Created the article, SingleSimon first Alpha version
  • September 30, 2008 - Version 1.1

License

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