> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bitiful.com/en/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bitiful.com/_mcp/server.

# Share files with S4 Manager

> Generate direct links, presigned links, CDN links, and CDN token links in S4 Manager, and configure CDN domains for a bucket.

Select one or more files and click the share button in the toolbar, or click **Copy Share Link…** on the right. With several files selected, each file gets its own line, and **Copy All** copies them together. Folders cannot be shared.

## Link types

| Type                   | Notes                                                                         | Suitable for                                                                               |
| ---------------------- | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| **Anonymous (direct)** | The S4 address, with no expiry                                                | Files set to [public read](https://docs.bitiful.com/en/bitiful-s4/handbook/public-read.md) |
| **Presigned**          | Signed with the current key, expires, up to 7 days                            | Temporary sharing of private files                                                         |
| **CDN (anonymous)**    | Your CDN domain, with no expiry                                               | Public files                                                                               |
| **CDN (token auth)**   | CDN domain with an advanced authentication signature, expires, up to 365 days | Files that need CDN acceleration and an expiry                                             |

Once a CDN domain is configured, a CDN link is selected by default. If an authentication key is also set, the CDN token link is the default.

## Presigned links

![Generate a presigned link](https://docs.bitiful.com/_biti/files/assets/s4-manager/share-presigned-en.webp)

| Field             | Notes                                                                                                                                                                                    |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Expires (sec)** | Up to 604800 (7 days). `0` means the maximum                                                                                                                                             |
| **Max Requests**  | How many times the link can be used, from 1 to 100. `0` means unlimited. See [Request limits for presigned URLs](https://docs.bitiful.com/en/bitiful-s4/features/max-requests-limits.md) |

Click **Generate** after making changes. Deleting or disabling the AccessKey invalidates the links immediately.

## CDN token links

![Generate a CDN token link](https://docs.bitiful.com/_biti/files/assets/s4-manager/share-token-en.webp)

**CDN TTL (sec)** is up to 31536000 (365 days), and `0` means the maximum. Before using it, turn on [advanced authentication](https://docs.bitiful.com/en/cdn/handbook/access-control.md) for the CDN domain in the console and enter the same key in the bucket settings below.

## Configure CDN domains

Click the gear next to a bucket to open **Bucket Settings**:

![Bucket settings](https://docs.bitiful.com/_biti/files/assets/s4-manager/bucket-settings-en.webp)

| Field                   | Notes                                                                                                                     |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| **Display Name**        | Only affects the name shown in the client, not the bucket name                                                            |
| **CDN Domains**         | [CDN domains](https://docs.bitiful.com/en/cdn/handbook/domains.md) that already point to this bucket. You can add several |
| **Auth Key (optional)** | The advanced authentication key of that domain in the console                                                             |

This only tells the client which domain to use in links. It does not change your CDN configuration. Keys are kept in the local keychain or Credential Manager.
