Skip to content

fix(image): pre-grant Local Network Access to the kiosk via Chromium policy#224

Merged
privaloops merged 1 commit intomainfrom
fix/chromium-lna-policy
Apr 27, 2026
Merged

fix(image): pre-grant Local Network Access to the kiosk via Chromium policy#224
privaloops merged 1 commit intomainfrom
fix/chromium-lna-policy

Conversation

@privaloops
Copy link
Copy Markdown
Owner

Chrome 130+ ships a new Local Network Access permission that prompts
" wants to access other apps and services on this device"
before letting an HTTPS page fetch any HTTP localhost URL. The kiosk
has no pointer or keyboard to dismiss the prompt, so the bridge probe
silently failed and launches kept falling back to the embedded TS
engine.

The flag-based mitigations from #223 don't cover this new permission
— it's a separate browser surface, gated by enterprise policy. Drop a
managed JSON in /etc/chromium/policies/managed/ that pre-grants both
the new (LocalNetworkAccessAllowedForUrls) and legacy
(InsecurePrivateNetworkRequestsAllowedForUrls) permission keys for
https://frontend.sprixe.dev/*. Chromium picks up the file on launch,
no prompt, no flag fragility.

…policy

Chrome 130+ ships a new Local Network Access permission that prompts
"<origin> wants to access other apps and services on this device"
before letting an HTTPS page fetch any HTTP localhost URL. The kiosk
has no pointer or keyboard to dismiss the prompt, so the bridge probe
silently failed and launches kept falling back to the embedded TS
engine.

The flag-based mitigations from #223 don't cover this new permission
— it's a separate browser surface, gated by enterprise policy. Drop a
managed JSON in /etc/chromium/policies/managed/ that pre-grants both
the new (LocalNetworkAccessAllowedForUrls) and legacy
(InsecurePrivateNetworkRequestsAllowedForUrls) permission keys for
https://frontend.sprixe.dev/*. Chromium picks up the file on launch,
no prompt, no flag fragility.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sprixe-frontend Ready Ready Preview, Comment Apr 27, 2026 6:47am

@privaloops privaloops merged commit 03f5035 into main Apr 27, 2026
1 check was pending
@privaloops privaloops deleted the fix/chromium-lna-policy branch April 27, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant