Can Project Reunion enable FullTrustProccess-UWP apps that access win32 process to start as "Run As Administrator" on Desktop Shell? #130
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Thanks for the issue (now a discussion). This is something that is interesting but is tied up in a larger issue of how "run Full Trust" works; I'm actually writing up a spec on this right now so it's good timing (reminder: just because someone at Microsoft is typing into a Word document, doesn't mean it's a feature that will ship any time soon :) ). Without going into too much detail, "UWP" (by definition) is also known as "Low IL" (IL = Integrity Level) and running apps as Administrator (or "elevated") is "High IL." Normal Win32 apps (including Desktop Bridge and The original design of For various reasons, So... we are thinking about making a new "optional full trust" feature, meaning the app explicitly tells OS it would like to run Medium IL processes, but the user gets to decide and the app can successfully run without it. Until we have unified app lifecycle, this would still be limited to a Low IL app launching Medium IL processes via In that design, this is primarily an ask for the unified app lifecycle (so you can run the exact same binary at either Low or Medium IL) and from there it's some additional manifest goo and UI to also enable elevation. Does that sound like it's reasonable? Any feedback on the high-level design? Of course, this is only useful if you want to run at Low IL in the first place, e.g. so you can run on HoloLens or because you want to give customers the choice to minimize security & privacy exposure. If you don't care about Low IL then you should just be a Medium IL app (using Win UI or whatever other "UWP" features you need) and then you would get elevation for free, just like it works today. |
Beta Was this translation helpful? Give feedback.
Thanks for the issue (now a discussion). This is something that is interesting but is tied up in a larger issue of how "run Full Trust" works; I'm actually writing up a spec on this right now so it's good timing (reminder: just because someone at Microsoft is typing into a Word document, doesn't mean it's a feature that will ship any time soon :) ).
Without going into too much detail, "UWP" (by definition) is also known as "Low IL" (IL = Integrity Level) and running apps as Administrator (or "elevated") is "High IL." Normal Win32 apps (including Desktop Bridge and
runFullTrust
processes) run at "Medium IL." So as it stands, "UWP" apps cannot launch elevated by-design.The original design of