Demo · sample files only

Expiring download link

Create a signed link that works for a limited time. The server checks the signature and expiry on every download.

File

Want to see a rejection? Open a tampered link.

How it works and its limits
  • Token = base64url(file ID, expiry, random ID) + HMAC-SHA256, verified with hash_equals.
  • The secret comes from ODD_LINK_SECRET or a generated key file; it is never sent to the browser.
  • Links are bearer tokens: anyone holding one can download until it expires (replay is possible inside the window).
  • Files and users here are sample data, not real documents.