Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Security: disable "remote" module #198

Open
salomvary opened this issue Oct 25, 2019 · 0 comments
Open

Security: disable "remote" module #198

salomvary opened this issue Oct 25, 2019 · 0 comments

Comments

@salomvary
Copy link
Owner

https://electronjs.org/docs/tutorial/security#15-disable-the-remote-module

Electron Security Warning (enableRemoteModule) This renderer process has "enableRemoteModule" enabled
    and attempted to load remote content from 'https://soundcloud.com/'. This
    exposes users of this app to unnecessary security risks.

For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.

The solution should be something like this:

https://github.com/brave/browser-laptop/blob/5e11e36828eae0e434b87245a7b1abe927b21226/app/browser/windows.js#L313-L324

https://github.com/brave/browser-laptop/blob/5e11e36828eae0e434b87245a7b1abe927b21226/app/renderer/components/main/main.js#L222

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant