Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sandboxed renderer processes #132

Merged
merged 1 commit into from Jun 12, 2022
Merged

Use sandboxed renderer processes #132

merged 1 commit into from Jun 12, 2022

Conversation

vweevers
Copy link
Member

@vweevers vweevers commented Jun 5, 2022

I wanted this demo to have a little bit more value.

The main process now opens a LevelDB database using level and exposes it to renderer processes using many-level. The processes communicate using Electron IPC. This approach is a secure default that allows renderer processes to be sandboxed.

Uses some new stream goodies like Duplex.from(), so it depends on the upcoming readable-stream@4 (nodejs/readable-stream#472).

I wanted this demo to have a little bit more value.

The main process now opens a LevelDB database using `level` and
exposes it to renderer processes using `many-level`. The processes
communicate using Electron IPC. This approach is a secure default
that allows renderer processes to be sandboxed.
@vweevers vweevers merged commit c949c15 into master Jun 12, 2022
@vweevers vweevers deleted the sandbox branch June 12, 2022 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant