CDNShark Documentation

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

← Back to Documentation

Managing Bucket Permissions

Permissions control who can read and write the objects in a bucket. Set a default for the whole bucket, then override individual files when needed.

Permission modes

ModeWho can readUse it for
PrivateOnly requests signed with an API keyInternal or sensitive files
Public ReadAnyone with the URLPublic assets served through a pull zone
AuthenticatedAnyone with a valid tokenized linkTime-limited sharing

Set bucket permissions

  1. Open the bucket and go to Settings → Permissions.
  2. Choose the default mode for the bucket.
  3. Click Save.

Override a single file

From the file manager, open a file's actions menu and choose Permissions to make one object public or private independently of the bucket default.

Access keys

  • Each bucket has an access key and secret key used by S3 clients and signed links.
  • Rotate the keys if they are ever exposed — this immediately invalidates the old keys and any outstanding signed links.
  • Never embed a secret key in client-side code; use a signed link or a pull zone instead.