commit | 3e83f3bcc14f839458de320ec9981c9babf788c8 | [log] [tgz] |
---|---|---|
author | James Forshaw <forshaw@chromium.org> | Thu Apr 24 14:16:55 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 24 14:16:55 2025 |
tree | b3921518aa39bdee6d2c80eac6f93d302b8f85a1 | |
parent | 91e260fb134367d12433cdf817a538f29c59f507 [diff] |
[Windows] Use the user's temp folder for split-token administrators. This CL changes the behavior when querying for the user's temp folder if they're an administrator. For security reasons a change was made to return a "secure" directory if the user is an administrator. However this can cause problems if the user is a UAC split-token administrator as it might introduce incorrect ACLs if the temporary files are copied to a user's profile. While Chromium doesn't officially support running as a split-token administrator, it is possible to accidentally run the browser with the full token and cause issues with ACLs in the user's profile. This change doesn't introduce a security issue as UAC is not a security boundary (as per Microsoft) and so being able to redirect a Chromium process's temp folder access is by design. Bug: 365594097 Change-Id: Ifad1c589a2535f4d7a889b314e705dc8a658c853 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6481153 Reviewed-by: Will Harris <wfh@chromium.org> Commit-Queue: James Forshaw <forshaw@chromium.org> Cr-Commit-Position: refs/heads/main@{#1451133}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.