Skip to content

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

Open
@thypon

Description

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

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions