Skip to content

Faria-Ejaz/graphical-password-system

Repository files navigation

Graphical Password Authentication System 🔐

System Demo

An innovative authentication system using image patterns instead of traditional text passwords. Built with modern web technologies for enhanced security and usability.

Abstract 📝

Traditional passwords are vulnerable to guessing and shoulder surfing. This system enhances security with graphical authentication, allowing users to:

  • Select images from a grid
  • Arrange tiles in a sequence
  • Authenticate via visual patterns

Key Advantages:

🛡️ Secure against brute-force attacks
🎯 Intuitive interface
👁️🗨️ Resistant to shoulder surfing
💡 Lower cognitive load

Features ✨

  • Graphical password authentication
  • Canvas-based CAPTCHA
  • Multi-step authentication
  • Secure MongoDB storage
  • Three-tier architecture (Client-Server-Flask)

Installation 💻

# Clone repository
git clone https://github.com/your-username/graphical-password-auth.git

# Client setup
cd client
yarn install

# Server setup
cd ../server
yarn install

# Flask setup
cd ../flaskServer
pip3 install -r requirements.txt
python3 -m spacy download en_core_web_sm

Configuration ⚙️

server/.env

UNSPLASH_ACCESS_KEY=
MONGODB_URL=your_mongodb_atlas_url
PORT=4000
NUM_OF_IMAGES_IN_SET=9
TOTAL_NUM_OF_ITERATIONS=4

client/.env

REACT_APP_UNSPLASH_ACCESS_KEY=
REACT_APP_TOTAL_TILES_COUNT=3
REACT_APP_TOTAL_ITERATION_COUNT=1
REACT_APP_PORT=3000

Usage 🚀

Start all services in separate terminals:

# Backend Server
cd server && yarn start

# Frontend Client
cd client && yarn start

# Flask Server
cd flaskServer && python3 server.py

Access the application at http://localhost:3000

System Workflow 📊

Registration/Login Sequence

Registration Flow

Login Flow

Authentication Process

Main Screen

Main Interface

CAPTCHA Verification

Canvas CAPTCHA

Image Selection

Image Grid

Tile Pattern Setup

Password Creation

Tech Stack 🛠️

Frontend

React Material-UI

Backend

Node.js Flask

Database

MongoDB

Tools

Yarn VS Code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published