You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Electron is known for being insecure. It should come with better security defaults.
Describe the solution you'd like
The Electron security checklist recommends disallowing permission requests for features the app doesn't need. It's a big security gap that this is opt-out rather than opt-in.
I recommend making all permission requests denied by default and let the user instead explicitly opt into what they need. That's also how Chrome works.
Reacted by Luke Childs, George Karagkiaouris, Christopher, PalmerAL, bompi88, Fabio Spampinato, Milan Burda, Buzurg Arjmandi, Matt Bierner, Simon Siefke and 1 more
It sort of shows the mentality of making the framework as easy to use as possible. It's not a good one. Security should be first priority and then ease of use. I second this and was equally surprised when I saw this note in the docs:
By default, Electron will automatically approve all permission requests unless the developer has manually configured a custom handler. While a solid default, security-conscious developers might want to assume the very opposite.
We're disagreeing with the notion that this is "a solid default".
Activity
b-zurg commentedon Jul 23, 2020
It sort of shows the mentality of making the framework as easy to use as possible. It's not a good one. Security should be first priority and then ease of use. I second this and was equally surprised when I saw this note in the docs:
We're disagreeing with the notion that this is "a solid default".