Security Risks of Direct File Uploads to Cloud Storage

Project Code :TCMAFS1320

Objective

The primary objective of this project is to design and implement a secure file upload system using the MERN stack that supports direct user uploads with robust role-based access control (RBAC). Specifically, the project aims to identify and mitigate common security vulnerabilities related to credential leakage, unauthorized access, and improper permission management in file upload workflows. By simulating a cloud storage environment locally with MongoDB, the project seeks to analyze potential attack vectors and demonstrate effective security measures such as secure token handling, strict access control, and validation mechanisms. Ultimately, this work intends to provide practical insights and best practices for developers to build secure, scalable web applications handling user-generated file uploads.

Abstract

With the growing need for scalable data storage, websites are increasingly adopting cloud storage services to handle large volumes of user-generated content. A common pattern emerging in modern web applications is the direct upload of files from users to cloud storage platforms, bypassing traditional web server handling. While this approach improves efficiency and performance, it also introduces new security challenges due to the increased complexity of interactions between users, web servers, and cloud providers.  In this project, we investigate the security implications of direct-to-cloud file upload mechanisms and present a practical implementation using the MERN (MongoDB, Express, React, Node.js) stack. Unlike traditional research that focuses on public cloud infrastructures, our implementation utilizes a local MongoDB database and role-based access control (RBAC) to simulate admin and user permissions in a controlled environment. Through our system, we explore how improper credential handling, insecure access control policies, and flawed upload workflows can expose sensitive data and compromise application security. Our study highlights six types of potential vulnerabilities associated with such upload mechanisms. We simulate these scenarios and test mitigation strategies, including secure token generation, upload session expiration, and strict role-based permissions. The project offers a foundational framework for understanding and addressing the security risks of user file uploads in modern web applications and aims to inform best practices for secure cloud integration.

Keywords: Web Security, File Upload Vulnerabilities, RBAC (Role-Based Access Control), Upload Credentials, User Authentication, Secure File Upload

NOTE: Without the concern of our team, please don't submit to the college. This Abstract varies based on student requirements.

Block Diagram

Specifications

SOFTWARE REQUIREMENTS:

Β·         Operating System                    :   Windows10/11 or macOS

Β·         Front End                                :   React JS

Β·         Scripts                                     :   JavaScript.

Β·         Backend Language                :   Node Js

Β·         Database                                 :   Mongo DB

 

HARDWARE REQUIREMENTS:

Β·         Processor                                 : Intel i3 or equivalent

Β·         RAM                                       : 4GB

Β·         Hard Disk                                :  500 GB

Demo Video

mail-banner
call-banner
contact-banner
Request Video