π‘οΈ ShieldStream β Secure Video Streaming Platform
ShieldStream is a piracy-proof video streaming backend that protects premium content with enterprise-grade security. Built for hackathons but designed with real-world DRM challenges in mind.
π Why ShieldStream?
Digital piracy costs billions every year.
$75B β Global annual revenue lost to digital piracy (Motion Picture Association)
βΉ2,000 Cr β Revenue lost by Indian EdTech in 2024 alone (EYβIAMAI Report)
62% β Courses experience unauthorized sharing within weeks of launch (VdoCipher Research)
ShieldStream tackles this by combining AES-128 encryption, short-lived SAS URLs, JWT authentication, and secure backend proxying.
π Key Features π Production-Ready Backend Security
Secure Upload β Videos uploaded to Azure Blob Storage with automatic HLS segmentation and AES-128 encryption
Rotating JWT Authentication β Short-lived access tokens + one-time refresh tokens (prevents replay attacks)
Time-Limited Access β Dynamic SAS URLs (2 min expiry), HTTPS enforced, prevents link sharing
Proxy Access β Clients never hit Azure directly. All .ts segments and .key files are proxied via backend
Session Validation β Each request validated against MongoDB WatchSession (blocks unauthorized playback)
π₯ Streaming Technology
HLS Streaming β Adaptive bitrate for smooth playback
AES-128 Encrypted Segments β Protects against raw file downloads
No Direct Blob Access β Azure Blob URLs are hidden, only backend serves media
Demo Mode β Falls back to sample video if Azure credentials are missing
π οΈ Tech Stack
Backend β Node.js + Express
Database β MongoDB (User & Session Management)
Storage β Azure Blob Storage
Encryption β AES-128 + short-lived SAS tokens
Streaming β HLS (HTTP Live Streaming)
βοΈ How It Works
Upload β Content uploaded to Azure β converted into .m3u8 + .ts segments with AES-128 key
Backend Proxy β All segment & key requests routed through /api/stream/:id/...
Authentication β JWT + MongoDB sessions validate every playback request
Time-Limited Access β SAS URLs expire in 2 minutes, forcing secure revalidation
Playback β Frontend HLS player streams content seamlessly
π Security Highlights
π AES-128 Encrypted Segments & Keys
π Rotating SAS URLs (2 min expiry)
π« No Direct Blob Access (all requests proxied via backend)
π§Ύ JWT + Session Validation in MongoDB
π HTTPS Enforced for all traffic
π Backend Status
Authentication β β Active
Encryption β β AES-128
Storage β β Azure Blob
Streaming β β HLS + Proxy
π¨βπ» Hackathon Ready
β Fully working prototype
β Real-world inspired DRM security
β Clear problem statement & global impact
β Scalable architecture
Β© 2025 ShieldStream. All rights reserved.