Skip to content

faizan0209/CodeAlpha-Detecting-Data-Leaks-Using-SQL-Injection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detecting Data Leaks Using SQL Injection

Overview

This project focuses on protecting cloud-based applications from SQL Injection attacks, which are one of the most common causes of data leaks.

The system is designed with multiple security layers to ensure that sensitive user data remains safe, encrypted, and inaccessible to unauthorized users.

This project demonstrates real-world backend security practices used in modern cloud systems.


Objectives

The main goals of this system are:

  • Secure user data against SQL Injection attacks
  • Prevent unauthorized database access
  • Encrypt sensitive information using strong cryptography
  • Allow controlled and verified SQL execution
  • Maintain database accuracy and data confidentiality

Key Concepts Covered

  • SQL Injection prevention
  • Secure query execution
  • AES-256 encryption
  • Capability-based access control
  • Multi-layer security architecture

Technology Stack

  • Python
  • Flask (Backend API)
  • SQLite (Lightweight Cloud Database Simulation)
  • AES-256 Encryption
  • REST APIs
  • Postman (API Testing)

How the System Works

  1. User sends a request with input data
  2. Input is validated to block SQL Injection attempts
  3. Capability code is verified
  4. Sensitive data is encrypted using AES-256
  5. Secure queries are executed
  6. Data is safely stored in the database

If any step fails, the request is rejected immediately.


Features

  • SQL Injection attack prevention
  • Encrypted data storage using AES-256
  • Capability-based access control
  • Secure database communication
  • Lightweight and cloud-ready architecture

Testing

  • Tested using Postman
  • SQL Injection attempts blocked successfully
  • Encrypted data verified in the database
  • Unauthorized access attempts rejected

Project Outcome

This project successfully demonstrates how cloud systems can:

  • Prevent data leaks
  • Secure databases from SQL Injection attacks
  • Protect sensitive user information
  • Maintain high data integrity

Internship Information

  • Internship Platform: CodeAlpha
  • Project Name: Detecting Data Leaks Using SQL Injection
  • Repository Name: CodeAlpha_DetectingDataLeaks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages