Skip to content

hanzalaghayasabbasi/Database-Project

Repository files navigation

Database-Project

This is my Database lab Project in the University
Features:
1 Strong Password Policy on the Login and SignUp Pages.
Password Policy: Requires a minimum of 10 characters, including at least 2 special characters and 1 number.
2 Storing Three Types of Logs: Failure, Success, and Both.
3 Using Parameterized Queries to Prevent SQL Injection Attacks.
4 Using bcrypt with a salt factor of 10 for storing Passwords in the Database.
5 Continuous Monitoring of Login in the Console.

Note: I am using Microsoft Workbench as a database. Integrating it with Express is difficult because I did not find any help on how to configure Express to work with Workbench. ChatGPT helped me a lot in this task.

Below is our Login Portal

image

If user try to login with credential that is not present in database it ask for register

image

Registrating the user

image

After Successfull Registrating it will tell us Registration successfull.

image

As we can see, the user we have registered is now in the database, and the password is stored hashed in the database.

image

Now we will login with the user which we have regiter.

image

After Succeffully login with credential it will redirect us to the Cyber Awareness Page.

image

About

This is my Database lab Project in the University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published