Time Locked PDF
Time-restricted document access for exam papers and scheduled releases. Server-side time validation, signed URLs, and an embedded viewer that resists clock manipulation, replay attacks, and unauthorised downloads.
Built With
Project Timeline
Use Case Discovery
Apr 2024Identified the need for time-restricted document access — exam papers, timed assignments, and scheduled content releases that shouldn't be reachable outside a specific window.
Security Architecture
May 2024Designed the access flow: server-side time verification to defeat client-clock manipulation, signed URLs for document access, and automatic expiration.
Serverless Functions
Jun 2024Built Vercel serverless functions for time validation, PDF serving with signed URLs, and access logging. All time checks happen server-side.
Frontend Access Interface
Jul 2024Built a clean UI showing countdown timers, access windows, and document availability with clear locked/unlocked indicators.
PDF Viewer Integration
Sep 2024Embedded an in-browser PDF viewer that blocks direct downloads during restricted periods and watermarks authorised views.
Edge Case Handling
Oct 2024Addressed timezone differences, daylight saving transitions, and concurrent access scenarios. Added graceful degradation for slow connections.
Anti-Tampering Measures
Nov 2024Server-side validation against URL manipulation and replay attacks, with rate limiting on access attempts.
Testing & Validation
Dec 2024Tested across timezones, browsers, and devices. Simulated clock manipulation attempts to confirm the server-side enforcement holds.
Security Hardening & Launch
Jan 2025Applied final constraints — HTTPS enforcement, CORS policies, content security headers — and deployed to Vercel.
Monitoring & Iteration
Feb 2025Added an access analytics dashboard, refined the UI from user feedback, and documented the security architecture for future maintainers.