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

New ruleset: use least privilege if possible when calling SetBindings #425

Open
thypon opened this issue Nov 9, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@thypon
Copy link
Member

thypon commented Nov 9, 2023

When creating a WebUI, it is crucial to establish the principle of least privilege. One way to do this is by setting the bindings policy to BINDINGS_POLICY_NONE. This policy disallows connections to the browser process, reducing the potential attack surface.

Cc @diracdeltas

Reference: https://source.chromium.org/chromium/chromium/src/+/main:content/public/browser/web_ui.h;l=78;drc=719c18366c0226fa751f38693b00f822d1b7ea9b;bpv=1;bpt=1

@thypon thypon added the enhancement New feature or request label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants