Skip to content
AnswerWell geo Documentation

Research · 8 min read · Answerwell

Isolated Web App Packaging, Version Management and Controlled Frame

How signed web bundles, allowlisting, key rotation, update channels, and Controlled Frame fit Chrome's high-trust isolated web app model.

This page summarizes Chrome for Developers documentation on Isolated Web Apps (IWAs): a bundled, signed, high-trust web application model for capabilities such as Controlled Frame and Direct Sockets that are not considered safe enough for ordinary “drive-by” web pages.

Isolated Web Apps: when you need more than a PWA or iframe

Section titled “Isolated Web Apps: when you need more than a PWA or iframe”

An Isolated Web App is an isolated, bundled, versioned, signed, and trusted application model built on the web platform for apps that need deep integration or do not treat the server as implicitly trustworthy.

The web is a truly unique application platform… Because the web aims to be safe and secure by default… A number of really important, and very powerful APIs, like Direct Sockets and Controlled Frame, that developers need can’t be made safe enough for the drive by web.

— Chrome for Developers, Isolated Web Apps

Chrome describes a spectrum of trust: drive-by web (lowest), installable Progressive Web Apps (middle), then IWAs (highest). You should default to the lowest model that works.

When trying to decide where on this spectrum you should aim for, default to the lowest-trust security model that you can, like a Progressive Web App.

— Chrome for Developers, Isolated Web Apps

If extension APIs on managed ChromeOS (kiosk, managed guest sessions) are enough, connecting a PWA or IWA to a Chrome Extension via secure message passing can be a smaller step than a full IWA. Move to an IWA when you need IWA-only APIs (for example Controlled Frame or Direct Sockets) that extensions cannot provide.

Signed Web Bundles and isolated-app://: how IWA packaging works

Section titled “Signed Web Bundles and isolated-app://: how IWA packaging works”

IWAs do not load executable pages from live origins like normal sites. Resources are packaged into a Signed WebBundle (.swbn), verified offline with signing keys rather than live TLS alone.

Pages and assets for Isolated Web Apps can’t be served from live servers or fetched over the network like normal web applications. Instead… web apps need to package all of the resources they need to run into a Signed WebBundle.

— Chrome for Developers, Isolated Web Apps

Signing uses Ed25519 or ECDSA P-256 key pairs. The Web Bundle ID and origin come from the public key, not the site’s domain:

Because a domain may be vulnerable to loss of control like a server, it can’t be used to identify the installed IWA. Instead, an IWA is identified by the bundle’s public key… IWAs use a new scheme, too: isolated-app://.

— Chrome for Developers, Isolated Web Apps

Typical local build flow (from the introduction guide):

openssl genpkey -algorithm Ed25519 -out private_key.pem
openssl pkcs8 -in private_key.pem -topk8 -out encrypted_key.pem
rm private_key.pem
npx wbn --dir dist
npx wbn-sign -i out.wbn -k encrypted_key.pem -o signed.swbn

Web Bundles (.wbn, application/webbundle) are the underlying packaged HTTP resource format; IWAs use the signed bundle path described in the IWA introduction.

The manifest must live at /.well-known/manifest.webmanifest inside the package. version is required; update_manifest_url should point at a hosted Web Application Update Manifest listing versions, bundle URLs (src), and optional channels.

Updates are checked about every 4–6 hours. Version strings must match ^(\d+.?)*\d$ (up to four numeric components in enterprise version management).

Architecture limits

IWAs must run offline-capable page architectures; server-rendered pages that require live servers do not fit the model.

On Chrome or ChromeOS 120+, enable chrome://flags/#enable-isolated-web-app-dev-mode, then use Chrome Web App Internals (chrome://web-app-internals) to install via Dev Mode Proxy (development server) or from a signed .swbn.

Permissions, isolation, and developer policy

Section titled “Permissions, isolation, and developer policy”

IWAs run in a standalone window, on the isolated-app:// protocol, with storage separated from normal browsing. Default Content Security Policy keeps script in the bundle; cross-origin isolation headers apply. Permission requests are blocked by default until declared in the manifest’s permissions_policy allowlists (intersection with bundle policy headers).

The developer policy and security guidelines require transparency, least privilege, and static integrity (no remote interpreters, no service workers pulling executable code from the network).

Task Prefer Avoid privileged IWA API when
Embed trusted third-party UI Standard <iframe> Controlled Frame for trivial embeds
File I/O File System Access API Unrestricted WebUSB for storage
Serial devices WebSerial when sufficient Unrestricted WebUSB as shortcut

For Controlled Frame, allowed uses include UI streamlining and mediating communication; forbidden uses include credential theft, ToS-violating manipulation, proxying privileged APIs to embedded content, or opaque “AI on behalf of user” behavior.

Controlled Frame: embed sites that block ordinary iframes

Section titled “Controlled Frame: embed sites that block ordinary iframes”

Controlled Frame is an IWA-only embedding element that can load content even when X-Frame-Options or CSP blocks normal <iframe> embedding, and it exposes navigation, lifecycle, storage partition, script injection, network interception, and context menu APIs.

The Controlled Frame API addresses this limitation by allowing the loading of any web content, even if it enforces restrictive embedding policies. This API is exclusively available within Isolated Web Applications (IWAs)…

— Chrome for Developers, Controlled Frame

If a web application needs to embed third-party content, it’s recommended to first explore the regular <iframe> approach. If requirements exceed the capabilities of iframes, Controlled Frames on IWAs may be the best alternative.

— Chrome for Developers, Controlled Frame

Enable controlled-frame and cross-origin-isolated in permissions_policy (IWA-specific features default to none; delegation to arbitrary third-party origins does not work for IWA APIs).

<controlledframe id="controlledframe_1" src="https://example.com" partition="persist:user_data">
</controlledframe>

Use in-memory partitions for session-scoped data; persist: prefixes keep partition storage across sessions. Handle required events such as permissionrequest, dialog, and newwindow explicitly—defaults often deny or block if you do not respond.

Demos: Controlled Frame demo and capabilities in the IWA Kitchen Sink samples referenced from Connect PWAs and IWAs with Chrome Extensions.

Chrome Extensions and enterprise installation

Section titled “Chrome Extensions and enterprise installation”

Extensions do not inject into IWAs by default. Declare the IWA origin under externally_connectable.matches with the isolated-app:// scheme (see Isolated Web Apps introduction — Work with extensions). The same pattern supports kiosk-only APIs (for example device restart) described in Connect PWAs and IWAs with Chrome Extensions.

Enterprise admins install IWAs from the Admin console with Web Bundle ID and update manifest URL (Isolated Web Apps introduction — Admin managed).

The IWA allowlist controls which apps can be installed or updated via Admin Panel (ChromeOS from Chrome 143; other platforms when IWA ships). Goals include quality, trusted developer contact (including key rotation), and acceptable use. Allowlisting generally requires a use case not achievable with open web APIs or extensions alone, plus participation in the early adopter program. Apps not on the list may still be tested in Developer Mode via chrome://web-app-internals with chrome://flags#enable-isolated-web-app-dev-mode.

IWA key rotation: keep bundle ID when signing keys change

Section titled “IWA key rotation: keep bundle ID when signing keys change”

Key rotation replaces compromised or lost private signing keys while preserving bundle ID and isolated-app:// origin continuity (Key rotation).

Requirements: allowlisted app; request from the trusted email from allowlisting.

Scenario What you must ship before Google processes rotation
Key intact (proactive rotation or leak) Bundles signed with both old and new keys—new version and/or re-signed hosted .swbn files
Key lost Coordinate with Google; cannot dual-sign with lost key

CLI examples from the guide:

wbn-sign sign webbundle.wbn old_key.pem new_key.pem -o signed.swbn --web-bundle-id <your-id-from-old-private>
wbn-sign add-signature signed.swbn key3.pem --in-place

Version management: channels, pinning, and downgrades

Section titled “Version management: channels, pinning, and downgrades”

Version Management covers update channels, pinned_version, and allow_downgrades via IsolatedWebAppInstallForceList (managed IWAs from Chrome 133; user channel UI from Chrome 150).

Channel rules (developer side):

  • Versions with a channels array install only on those channels.
  • Entries without channels belong only to default.
  • Admin channel strings must exactly match manifest channel names (case-sensitive).

Version pinning stops forward background updates at pinned_version. Downgrades need pinned_version set to a valid older version and allow_downgrades: true; Chrome reinstalls the older .swbn on the normal 4–6 hour check cycle.

Unmanaged installs need update_manifest_url in the bundled manifest; without it, the app never background-checks for updates. After install, channel switches require uninstall and reinstall (user-installed IWAs).

  1. Confirm the app meets IWA constraints (offline-capable static or client-rendered assets, manifest at /.well-known/manifest.webmanifest, valid version) using Isolated Web Apps.
  2. Build and sign a bundle with wbn / wbn-sign, then run wbn-sign info signed.swbn to verify Web Bundle ID and origin match what you will register—see Key rotation.
  3. Enable chrome://flags/#enable-isolated-web-app-dev-mode, open chrome://web-app-internals, install from signed .swbn or Dev Mode Proxy, and force an update check to validate your update manifest.
  4. If embedding third-party sites, test with <iframe> first; only after embedding blocks or control gaps, enable controlled-frame in the manifest and exercise navigation and permissionrequest handlers per Controlled Frame.
  5. For managed ChromeOS, mirror channel, pinned_version, and allow_downgrades against your hosted manifest using Version Management before wide OU rollout.

You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact passage you are asking about, and we will look into it.