Skip to content

Commit 2458c98

Browse files
Document DNS-compliant token format for preview URLs
Preview URL tokens now use only DNS-valid characters (lowercase alphanumeric and hyphens) per RFC 952/1123. Updated security section to clarify token format and compliance requirements. Related to cloudflare/sandbox-sdk#247
1 parent ad91c85 commit 2458c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/sandbox/concepts/preview-urls.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Preview URLs are publicly accessible by default, but require a valid access toke
155155

156156
**Built-in security**:
157157

158-
- **Token-based access** - Each exposed port gets a unique token in the URL (for example, `https://8080-sandbox-abc123token.yourdomain.com`)
158+
- **Token-based access** - Each exposed port gets a unique token in the URL (for example, `https://8080-sandbox-abc123token.yourdomain.com`). Tokens are 16 characters long and use only lowercase alphanumeric characters and hyphens, complying with DNS hostname requirements (RFC 952/1123).
159159
- **HTTPS in production** - All traffic is encrypted with automatic TLS
160160
- **Unpredictable URLs** - Tokens are randomly generated and difficult to guess
161161

0 commit comments

Comments
 (0)