Secure Share
Controlled access. Always.
The problem Secure Share solves
🛡️ The Problem It Solves
In today's digital landscape, privacy is a myth.
When we share sensitive information—API keys, passwords, private documents, or confidential notes—via standard messaging apps (WhatsApp, Discord, Slack) or email, we leave a permanent digital footprint. These files stay on servers indefinitely, can be forwarded without consent, and often lack audit trails.
SecureShare was built to solve the problem of Data Permanence and Unsecured Transmission. It acts as an ephemeral "Digital Dead Drop" for the modern web.
🚀 How It Empowers Users
-
🛡️ The "Self-Destruct" Mechanism
Unlike Google Drive or Dropbox, files here aren't meant to stay. Users can set strict Access Limits (e.g., "Burn after 1 view") and Time Limits (e.g., "Expire in 10 minutes"). Once the criteria are met, the data is wiped from the database instantly. -
👁️ Zero-Trust Monitoring
We provide real-time Audit Logs. If you share a link, you can see exactly when it was accessed and from which IP address, giving you total situational awareness. -
🧑💻 For Developers by Developers
It is the safest way to share.envvariables or credentials with teammates without risking them being saved in chat history logs.
Challenges I ran into
🚧 Challenges I Ran Into
Building a security-focused application came with its own set of unique engineering hurdles. Here are the major ones I faced and how I cracked them:
1. The "Offset-Naive" vs. "Offset-Aware" Timezone Hell 🕒
- The Bug: During the development of the expiry logic, the backend kept crashing with the error:
TypeError: can't compare offset-naive and offset-aware datetimes. This happened because Python’sdatetime.now()defaults to local time (naive), while our Supabase database returns timestamps in UTC (aware). - The Fix: I had to standardize the entire backend to strictly use UTC. I refactored the logic to use
datetime.now(timezone.utc)everywhere. This ensured that no matter where the server or user is located, the expiry countdown is always accurate to the second.
2. The JPEG Compression Data Loss 🖼️
- The Bug: While building the StegoLab (Steganography) feature, I initially allowed all image formats. However, I noticed that when users uploaded JPG/JPEG images, the hidden secret messages were getting corrupted or disappearing completely.
- The Reason: JPEGs use "lossy compression." When the image is saved, it discards "unimportant" pixel data to save space—but that was exactly where my code was hiding the secret bits!
- The Fix: I implemented strict validation in the backend to enforce .PNG format for the Cloaking module. PNGs are lossless, ensuring the Least Significant Bits (LSB) remain intact for reliable data extraction.
3. Balancing "Hacker Aesthetics" with Usability 🎨
- The Hurdle: I wanted a "Mr. Robot" style dark terminal look, but often these designs have terrible UX (User Experience) that confuses normal users.
- The Solution: I used React + Tailwind CSS to create a "Bento Grid" dashboard. It keeps the dark, neon-green cyber aesthetic but organizes features into clean, accessible boxes, ensuring even non-tech users can navigate the "Vault" easily.
Technologies used
