Skip to content

nodeIntegration を無効にする #78

Description

@aokashi

不正利用されないようにするため、 nodeIntegration を無効にしておく。

無効にする上で必要な箇所

contextBridge の有効化

現在 IPC 通信で手続きしているところだが、これを contextBridge に変更しておく。

Electron入門 ~ Webの技術でつくるデスクトップアプリ の セキュアな IPC 通信(contextBridge 編) がわかりやすい。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions