[Enhancement] Avoid MAUI Desktop development requiring the enabling of side-loading in Windows #1784
Labels
legacy-area-desktop
Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls))
platform/windows 🪟
t/desktop
The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)
Summary
Developing MAUI apps for Windows requires developers to turn on side-loading (now known as Developer Mode) in Windows to even debug their application. This exposes developers to increased security risk, as it becomes possible for any WinUI/UWP application to be installed from any source.
This negates the security benefits that this mode provides for any developer, and exposes the companies they work for to greater risk of security incident.
Preferred solution
Is it possible to self-sign applications by default during development, so that they can be deployed locally for debugging without enabling side-loading?
Alternative solutions
Intended Use Case
Developers do not always make the best decisions when it comes to the installation of things from non-trusted sources. Developers come in all ages and levels of experience. Those that are very junior may not appreciate the risk of side-loading applications that they have not developed themselves. Teaching developers to turn off security features by default is far from ideal, putting them and their companies at risk. Bad habits like this learned at an early age become very difficult to break.
It should not be necessary to enable side-loading to develop applications in MAUI.
Enabling side-loading isn't granular. There is no way to enable some scenarios without enabling it all. As a result, WinUI isn't a great option. Using WPF for MAUI may have been a better choice, as was the case with Xamarin Forms.
This is borderline a security issue because of the risk this raises, but I have chosen to raise it as a feature request.
The text was updated successfully, but these errors were encountered: