Coder Social home page Coder Social logo

guardkey's Introduction

  ______                                       __        __    __                     
 /      \                                     /  |      /  |  /  |                    
/$$$$$$  | __    __   ______    ______    ____$$ |      $$ | /$$/   ______   __    __ 
$$ | _$$/ /  |  /  | /      \  /      \  /    $$ |      $$ |/$$/   /      \ /  |  /  |
$$ |/    |$$ |  $$ | $$$$$$  |/$$$$$$  |/$$$$$$$ |      $$  $$<   /$$$$$$  |$$ |  $$ |
$$ |$$$$ |$$ |  $$ | /    $$ |$$ |  $$/ $$ |  $$ |      $$$$$  \  $$    $$ |$$ |  $$ |
$$ \__$$ |$$ \__$$ |/$$$$$$$ |$$ |      $$ \__$$ |      $$ |$$  \ $$$$$$$$/ $$ \__$$ |
$$    $$/ $$    $$/ $$    $$ |$$ |      $$    $$ |      $$ | $$  |$$       |$$    $$ |
 $$$$$$/   $$$$$$/   $$$$$$$/ $$/        $$$$$$$/       $$/   $$/  $$$$$$$/  $$$$$$$ |
                                                                            /  \__$$ |
                                                                            $$    $$/ 
                                                                             $$$$$$/ 

Introduction

Guardkey adds a layer of authentication, via tokenisation. It is not to be confused with two factor authentication, as it's on the same device, but its an 'on the fly' token generation via a c# application. It works by creating a unque token based off time, a usernames credentials and a private stored server key. These are then put into a windows based program and a token produced. This is placed into the web app which then repeates the same process, using the information it has, and compares.

Advantages

Some web applications (or other types of applications) can not practically impliment two factor authentication, so I created this simple framework to help add an extra layer of security. the 'guardkey' is installed locally on a machine and the user uses there username and password to generate a token with an expiration date, its a similar process to how an ssh key is produced.

Usage

This can be used to bolster existing authentication security, for example having a requirement to use guard key on every third login. I've included a example php intergration, but this can easily be adapted for c#, python, c++ etc.

Example and project

There is included a php example of implimenting server side, and an uncompliled version of the c# windows program. This will need compiling in visual studio, however there is a working ready to go version located in the bin directory. Because this project does not come with a signed certificate you will either have to set an exemption on the systems you are using or create a self-signed certificate for use on local systems.

Disclaimer

This software comes as is, and the author accepts no responsiblity for lose, damage or data breach as a result of this software's use. Please ensure whenever you modify or change an authentication process you carefully consider all aspects of security and employ a qualified security advisor to stress and pen test a system.

guardkey's People

Contributors

sethvoid avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.