Skip to content

[BUG] Context isolation refactoring  #81

@Durtur

Description

@Durtur

Require should not be accessible in the renderer scripts due to security reasons. If the window navigates to a malicious site the said site could possibly require and use libraries such as filesystem.

Dungeoneer does not currently navigate to any sites but these libraries should none the less be inaccessible, especially with plugin/mod implementation.

See: https://www.electronjs.org/docs/latest/tutorial/context-isolation

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions