Guides
Protected sharing routes
Compose a protected Scenario handoff, source-discovery policy, and origin boundary without confusing presentation targeting with cryptographic isolation.
On this page
- Make three sequential decisions
- 1. Choose how participants open content
- 2. Choose how the source is discovered
- 3. Choose who may reach the origin
- Common combinations
- Keep the handoff artifacts separate
- Publish and verify the static directory
- Same-origin storage
- Separate static origin
- What infrastructure can learn
- A practical default
Protected sharing publishes a signed static package whose Scenario, cover, and media bytes remain encrypted until the participant’s browser receives the right password. The handoff, source-discovery policy, and origin boundary are separate decisions that can be composed.
Protected packages keep content confidential from the static host. They do not make requests invisible, turn a shared password into individual authorization, or erase copies that recipients have already saved.
Make three sequential decisions
Protected distribution
Three decisions that compose
Choose how participants open content, how the protected source is discovered, and who may reach the app origin. Then keep the participant link, password, and publisher pin separate.
Decision sequence
Open → discover → reach
-
How participants open
Targeted link
Open one named entry after the package unlocks.
-
How the source is discovered
Managed source
Preconfigure the source coordinate and publisher pin.
-
Who may reach the app
Corporate gate
Limit origin reachability outside Cynario.
Trust boundary
Ciphertext outside, plaintext inside
Encrypted content
Static host sees ciphertext
Observable metadata
Object paths, ciphertext sizes, timing, and access patterns remain visible
Browser unlock
Decrypt and validate locally
Presentation filter: the targeted entry is selected after browser unlock; it is not a cryptographic boundary.
Static storage
Choose an object-hosting posture
Same-origin storage
No CORS boundary.
Separate static origin
Explicit CORS boundary.
1. Choose how participants open content
A targeted link is the shortest facilitator-to-participant handoff. It names the protected source and an entry identifier so Cynario can show the intended Scenario after the package unlocks. An unknown target fails closed rather than falling back to another Scenario.
Targeting is presentation filtering after unlock, not per-Scenario cryptographic isolation. If one
package contains several Scenarios, anyone with that package’s password can unlock the catalog and may
reach the other Scenarios through the package flow. Recipient isolation requires separate packages with
separate password material and independently random root-key material. Different entry values do not
create that boundary.
New participant links put the bootstrap address and optional Scenario target after # (/campaign#source=…&entry=…). The app host receives neither in the campaign request. Older ?source= links still open, but the app host and its access gate receive their query before the browser clears it. Reissue old links if the address is sensitive; clearing the URL cannot retract an earlier request or log entry.
Cynario clears the visible address only after the page responds and its JavaScript runs. With JavaScript disabled the fragment stays visible. Chromium can retain the originally opened URL in its own session history even when Back shows a clean address; Cynario cannot erase browser history or history sync. The source host receives the bootstrap path and query (including any tokens), and cross-origin fetches disclose the app’s Origin. Managed source IDs can be operator-chosen labels.
Opening a protected source from Sources uses a button, not a link containing the stored source ID. On activation the address travels in a fragment, just as it does in a participant link. Legacy Campaign links containing a registration ID are accepted on arrival, but new links do not emit one. Until a Scenario is saved, refresh uses an opaque history reference to a short-lived sessionStorage checkpoint (up to 15 minutes, eight pending arrivals). Expired records cannot be used and are pruned on regular app loads. A browser-duplicated tab or same-origin window created with an opener can inherit a separate copy; this is not strict tab isolation. The Builder’s Test scenario window removes those staged addresses from its initial blank child window before navigating it to Player; the original tab retains its checkpoints. An ordinary tab close ends its storage session, but browser session restore can retain data. A saved Scenario returns through its existing local provenance, not that temporary checkpoint.
If the browser blocks storage reads, Cynario removes the participant address without contacting the source. Allow site storage, then reopen the original participant link; refreshing the cleaned address cannot recover it. If reads work but a tab cannot write its temporary checkpoint, the current document can still unlock the source. Until a saved copy supplies a return path, reloading the page requires reopening the original link.
Recipients and the channel carrying the link can still read its full fragment. Send the package password separately. The source host receives the bootstrap request, including any path token or query parameters; this remains true when the app and package share a host.
2. Choose how the source is discovered
A participant can receive a source coordinate directly, or an operator can put it in readable
/config.json. Managed configuration records the source coordinate, publisher public key, and
signature-required policy. It never includes a password, root key, or any unlock capability. Personal
sources keep manual publisher-pin verification in advanced controls.
Managed configuration establishes a deployment default, not a user account or authorization decision. Every decrypted Scenario still passes Cynario’s normal import validation.
3. Choose who may reach the origin
An existing private network, VPN, or IP-admission layer can limit who reaches the app without giving Cynario a person, group, or assignment identity. This is origin admission, not in-app authorization. Package encryption still protects Scenario content from the static host and from anyone who obtains the ciphertext but lacks the password.
Cookie-authenticated package gates are not currently compatible with protected-source fetches. The
bootstrap, catalog, Scenario, and media requests deliberately use credentials: 'omit'. A normal
cookie-backed OIDC proxy can admit page navigation and then reject those object requests. Do not place
protected-source objects behind a gate that requires browser cookies, an authorization header, or
credentialed CORS. Gate the app separately, leave ciphertext objects reachable, or use network/IP
admission that does not depend on fetch credentials.
Common combinations
- Direct campaign: targeted link + directly supplied source + reachable static package.
- Managed catalog: ordinary app entry + organization-managed source + reachable static package.
- Recommended workplace route: targeted link + organization-managed source + corporate-gated app origin. Put package objects on a reachable static origin, or behind network/IP admission that does not require browser credentials.
- Private-network deployment: targeted or ordinary entry + managed source + app and package reachable only inside the same private network.
Keep the handoff artifacts separate
- Participant link: carries the source coordinate and optional Scenario target. Cynario does not add the package password, but any query parameters already present in the source URL are copied with it.
- Password: unlocks the encrypted catalog. Send it through a channel appropriate to the audience, separate from the link when practical.
- Publisher pin: verifies that the fetched package was signed by the intended publisher. Managed sources can provide the publisher public key and require signatures; personal setup keeps manual pinning behind advanced verification controls.
A signature proves that the holder of a signing key signed the bytes. It does not prove a legal name, employment relationship, or human identity. Encryption protects package content; it does not prove who used the password.
Publish and verify the static directory
- Open My scenarios, then choose Protect & share.
- Select the Scenarios, set the package password, and download the package ZIP.
- Extract the ZIP. Do not upload the ZIP as a single object.
- Upload the extracted directory intact. Keep
index.jsonand every opaque encrypted object in the same relative layout produced by Cynario. - Copy the public URL that ends in
index.json, paste it into Hosted index.json URL, and complete the hosted-source verification in Protect & share. - Use that verified
index.jsonURL in the participant link or managed deployment configuration.
Same-origin storage
Host the extracted directory under the app origin, for example
https://app.example/sources/campaign/index.json. This avoids CORS. It is compatible with public object
paths and network/IP admission, but not with cookie-authenticated protection on those paths because
protected fetches omit credentials.
Separate static origin
Host the directory at a reserved origin such as https://content.example/campaign/index.json. Allow the
app origin through a deliberately narrow CORS policy and serve the required security and MIME behavior.
The current consumer does not define a credentialed-CORS contract, so the static origin must not require
browser cookies or authorization headers.
What infrastructure can learn
Protected publication encrypts Scenario files, catalog listings, covers, and media objects. Infrastructure can still observe more than transport timing:
- Opening a new participant link requests
/campaign, not its fragment. The app host still sees visits to the app, local routing IDs and timing. Legacy query links expose the original coordinate on first open. - The source hostname, object paths, client and network addresses, request timing, response and ciphertext sizes, and aggregate access patterns remain observable to the relevant hosts, proxies, and logs.
- The public
index.jsoncontains bounded bootstrap metadata:sourceId, revision, Argon2 parameters and salt, the wrapped-root-key slot, catalog path, plaintext and ciphertext sizes, ciphertext hash, chunk metadata, and signature or key ID. The wrapped-root-key slot is an encrypted root-key wrap, not an exposed root key. - A gate can record whether a session was admitted, while the static host stores or relays ciphertext.
Use opaque entry IDs and package object paths, query-aware log minimization, short retention, and a private network or access proxy when metadata is sensitive. These controls reduce exposure; they do not change the claim that decryption, signature verification, and import validation happen in the browser.
A practical default
For a workplace campaign, compose a targeted link, an organization-managed source, and a
corporate-gated app origin. Deliver the password separately. Host the extracted protected directory at
a stable index.json URL that participants can fetch without browser credentials; use a private-network or
IP-admission boundary when ciphertext reachability must also be restricted.
See Sharing & collaboration for every sharing mode and Self-hosting for the static app, container, and access-gate deployment model.