Repository navigation
Proposal: Unified Sandboxed Application Distribution for Windows #6734
Unanswered
Lubi (Lubi-git)
asked this question in
Ideas
Replies: 1 comment 1 reply
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Windows provides several technologies for application packaging, dependency management, runtime sharing, and process isolation, including MSIX, Framework Packages, Dynamic Dependencies, and AppContainer.
This proposal explores whether these capabilities could be combined into a coherent, supported distribution and execution model for sandboxed desktop applications, including Win32 applications.
The objective is not to introduce a new packaging format, package manager, compatibility layer, or virtualization technology. Instead, it is to explore a Windows-native application model that brings existing deployment, dependency, and isolation capabilities together into a consistent application experience.
Motivation
Desktop applications can depend heavily on the state of the host operating system. Shared libraries, runtimes, system-wide components, and broad process privileges can introduce compatibility, maintenance, and security concerns.
Modern application distribution models such as Flatpak demonstrate an alternative approach in which applications can be distributed together with defined runtime dependencies and an explicit isolation boundary.
The relevant concept here is not the Flatpak implementation itself, but the separation between:
Windows already provides technologies addressing several of these areas. However, these capabilities currently exist as distinct parts of the platform rather than as a single application distribution model.
Proposed Direction
This proposal explores a unified sandboxed application model built around existing Windows infrastructure.
Such a model could provide applications with:
Relevant existing Windows technologies include:
The focus is therefore on whether these capabilities could be integrated into a coherent application model and developer experience, rather than on creating equivalent infrastructure independently.
Native Windows Execution
A defining characteristic of the proposed model is that applications would remain native Windows applications.
The model would not require:
Applications would continue to execute using the Windows kernel and Windows APIs while using the platform's native application deployment and security mechanisms.
This distinguishes the proposal from approaches that provide Linux application sandboxing on Windows by running an additional operating-system environment.
Application Compatibility
The model could serve as an additional deployment option rather than a replacement for traditional Win32 applications.
Applications requiring broad system access, drivers, services, or other privileged functionality could continue using conventional deployment models.
Applications primarily requiring user-level functionality could instead target a sandboxed distribution model with more controlled dependencies and system access.
This would allow different applications to choose an appropriate security and deployment model without requiring a single model for the entire Windows application ecosystem.
Distribution
The proposed model could remain compatible with existing Windows distribution infrastructure rather than requiring a separate ecosystem.
Potential distribution mechanisms include:
The proposal treats application distribution and application execution/isolation as related but distinct concerns. A sandboxed application model could therefore potentially be supported through multiple existing distribution channels.
Relationship to Existing Technologies
This proposal does not seek to replace existing Windows technologies.
Instead, it explores whether their relevant capabilities could form a higher-level application model:
The specific APIs, contracts, manifests, capability model, dependency semantics, and implementation details would be determined according to the requirements and architecture of the Windows platform.
Relationship to Flatpak
Flatpak is referenced as an example of an application distribution model that combines application packaging, runtimes, dependency management, and sandboxing.
This proposal does not suggest porting Flatpak to Windows or adopting its implementation.
Instead, it asks whether Windows could provide comparable application-distribution properties using its own native packaging, dependency, deployment, and security infrastructure.
Potential Benefits
If technically and architecturally feasible, such a model could provide:
Security
Reliability
Deployment
Ecosystem
Scope
This proposal is intentionally focused on the platform-level concept rather than prescribing a particular implementation.
It does not require:
The central question is whether the existing Windows packaging, dependency, deployment, and isolation capabilities could be exposed and integrated as a coherent model for distributing and executing sandboxed desktop applications.
Closing
Windows already provides distinct mechanisms for application packaging, runtime dependencies, deployment, and process isolation.
This proposal explores whether bringing these capabilities together could provide an additional application model for software that benefits from stronger isolation and more predictable dependencies while remaining fully native to Windows.
The purpose of this proposal is to gather feedback on the concept, its technical feasibility, its architectural fit, and whether such a model could provide meaningful value to Windows developers and users.
All reactions