CDNShark Documentation

Guides, tutorials, and references for every part of CDNShark — edge delivery, pull zones, DNS, cache controls, and more.

← Back to Documentation

Share a File with a Tokenized Link

Tokenized (signed) links let you share a private file without making the whole bucket public. Each link carries a cryptographic token and an expiry time — once it expires, the link stops working.

Generate a signed link

  1. Open the bucket in Storage and locate the file.
  2. Open the file's actions menu and choose Generate Signed URL.
  3. Set an expiry — minutes, hours, or days.
  4. Click Create Link and copy the URL.

Anyone with the link can download the file until it expires. No CDNShark account or API key is required to open it.

Choosing an expiry

ExpiryGood for
15–60 minutesOne-off downloads and sensitive documents
1–7 daysSharing with a client or teammate
30 daysLong-lived embeds where the file rarely changes

Security notes

  • Signed links are validated at the edge — an expired or tampered token returns 403 Forbidden.
  • Treat a signed link like a password: anyone who has it can download the file until it expires.
  • To revoke access before expiry, rotate the bucket's access key — this invalidates all outstanding links.