Commit 7a768a5e authored by Alex Gough's avatar Alex Gough Committed by Commit Bot

Add security note to URLLoaderFactoryParams

For instance, kBrowserProcessId allows for access to file:// urls and
other urls, effectively allowing user data to be read and sent to the
network.

Change-Id: Iabbb9cdd56061a689c35f4b84550a78a4eed9957
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429871Reviewed-by: default avatarMatthew Denton <mpdenton@chromium.org>
Commit-Queue: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810602}
parent 4adc9af7
......@@ -605,6 +605,9 @@ enum TrustTokenRedemptionPolicy {
struct URLLoaderFactoryParams {
// Process requesting the URLLoaderFactory.
// Set to kBrowserProcessId to indicate the browser process.
//
// SECURITY NOTE: Factories with kBrowserProcessId should not be sent
// to untrustworthy processes.
int32 process_id = kInvalidProcessId;
// If specified, then |request_initiator_origin_lock| locks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment