Forum Discussion
dandirk
Feb 28, 2020Copper Contributor
Edge Policy REQ: Allow Extensions from other stores
An Edge policy to enable/disable "Allow extensions from other stores." would be very helpful. We currently use the allow extensions policy, in addition to allowed lists, and url/store restriction...
ashishpoddar
Microsoft
Mar 17, 2020
We have explained the current workflow for the preference"Allow extensions from other stores" in this post https://techcommunity.microsoft.com/t5/microsoft-security-baselines/edge-extensions-developer-and-other-store-toggle/m-p/1231892#M52
Could you please review it and let us know your feedback on that thread please?
narutards
Mar 17, 2020Iron Contributor
I've reviewed the thread you link and I got three issues with the workflow described in it.
1. There is no way to prevent users from enabling the "Allow extensions from other stores" switch. The only way to actually prevent the installation itself is to blacklist the extension GUID "*". Currently there is no way for us to limit users to just the Microsoft store.
2. As part of the case I opened I was asked to test the "ExtensionInstallSources" policy (https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#extensioninstallsources) but it appears that this is completely unrelated to the "Allow extensions from other stores" switch too.
Setting the following two policies will still prompt you to enable the installation from other stores even when you are on the Chrome store's website:
- HKLM:\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallSources\1 = https://microsoftedge.microsoft.com/addons/*
- HKLM:\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallSources\2 = https://chrome.google.com/webstore/*
I'd kind of expect the switch to be toggled if there already is a policy in place to allow another store. Maybe that's just me.
Likewise I'd expect to user to be unable to install extensions from _any other_ store if I already provide a whitelisted set of stores. The user should not be allowed to install from any other sources than the whitelisted ones.
3. Having the user manually enable the installation from other stores might seem like a security measure but in reality there are just two things that will happen. Group 1 clicks "OK" on everything without thinking anyway, regardless of consequences. And group 2 will call the IT hotline and ask what it all means and whether they can safely click the button. Being able to take away this decision from our users would save everyone some time, especially if we had the ability to both either disable or enable it permanently with a GPO. Bundle that with the ability to explicitly whitelist sources through the "ExtensionInstallSources" and in turn automatically blacklisting all other sources we'd have everything we need.
- ashishpoddarApr 06, 2021
Microsoft
Now there is a way to prevent users from installing extensions from 3rd party store - including Chrome Web Store. You can use the ExtensionSettings policy for this.
To block extensions from a particular third party store, you only need to block the update_url for that store. For example, if you want to block extensions from Chrome Web Store, you can use the following JSON.
{"update_url:https://clients2.google.com/service/update2/crx":{"installation_mode":"blocked "}}
For more details refer to: https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#extensionsettings
We also developed a tool for IT Admins to generate the ExtensionSettings JSON file. It is still in early stages (and its open sourced ) but any feedback will be helpful. Use it here: https://microsoft.github.io/edge-extension-settings-generator/minimal - ashishpoddarMar 24, 2020
Microsoft
narutards Thanks for the detailed explanation of the requirements. We are exploring various options with respect to this.
I just want to clarify that as of now ExtensionInstallSources policy cannot be used to block extensions from the Chrome Web Store.
- tylderlurdenMay 17, 2020Brass Contributor
- Daniel PerssonJun 17, 2020Brass Contributor
Having issues with this as well.
My goal is to silently install an extension from Chrome Web Store.
I have added to the Extension ID to the ExtensionInstallAllowlist.
Configured ExtensionInstallAllowlist to *
And added the Extension ID to ExtensionInstallForcelist.
But the extension isn't installed automatically.
If I do the same with an extension that is published in the Microsoft Edge Store, then its silently installed.
In addition I tried to manually configure ExtensionInstallSources via registry with https://microsoftedge.microsoft.com/addons/* and https://chrome.google.com/webstore/* but it didn't help.
The user can manually install the extension after enabling Allow extensions from other store.
Is there more to it?