coledixon / csharp_login_utility Goto Github PK
View Code? Open in Web Editor NEWa C# application for validating username / password utilizing SQL hashing and ecryption
a C# application for validating username / password utilizing SQL hashing and ecryption
-- login form base
-- data class (SQL trans / data sort)
-- ext class (external methods)
-- props class (get; set; props based around SQL schema)
-- error class (error / validation handling)
(WIP)
-- construct model based on SQL schema
-- get; set; props based on input / return values
-- transact with local SQL db (db_login)
-- set PasswordChar prop (*)
-- set MaxChar prop (20)
-- require alphanumeric with at least 1 symbol
C#:
SQL:
-- connect C# app to SQL local db instance (db_login)
-- build default error handling into application base
-- LostFocus() events on all text fields
---- validate user exists on LostFocus() event
-- validate user / pass on login attempt(s)
---- prompt success / fail icons based on SQL retval
-- compare passwords on login attempt
---- parse hash for entered pw
---- compare against returned pw from SQL based on userId
(more to come as project grows)
-- construct SQL schema
-- build insert/update triggers
-- add insert/update queries in main PROCS [spcreateUser / spcreateUser]
-- build admin WinForm subscreen (called from Login_App.cs)
-- Admin functionality to include CREATE / UPDATE / DELETE
-- make Admin screen accessible only to SYSADMIN users in SQL. (WIP)
-- update logic for hashing / salting varchar passwords
-- pass hash && salt to sql proc spcreateUser
-- DO NOT PASS VARCHAR PW VIA LINQ
-- evaluate session creation with SQL structure [spcreateSession]
-- gen NEWID() as sesstoken val
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.