Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A BASE WebApp for FreePascal/Lazarus & Delphi. This WebApp will create a Login Form and accept a user name and password. It will then hash the password and check it against an SQL database. Upon validating user credentials it will then load a simple default framed home page for a starting point for your own webpage.

!!! IMPORTANT !!!

db_connector.pas Set the following variables to YOUR SETTINGS SQLConn.HostName := 'localhost'// or remote address; SQLConn.DatabaseName := 'staff'; // or relevent database name SQLConn.UserName := ''; SQLConn.Password := '';

Make sure your SQL Database has a table with username and PasswordHash set in it. The username is tested against the login and the PasswordHash is tested against the inputed Password. Password HAS should be set as type CHAR(64) in the SQL Database using this example.

!!! IMPORTANT !!! The HASHING uses the DCPCrypt library. Make sure to download from repository.. Install Lazarus->Package->Online Package Manager->DCPCrypt

About

A simple BASE WebApp that connects to a SQL Database and verifies the Login credentials and then loads the Main page

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages