Tighten filesystem: requests to use stronger CanCommitURL security checks.
This CL strenthens security checks in FileSystemEntryURLLoader to block requests for filesystem: URLs if the requested URL is not commitable in the current process. When site isolation is on, this will prevent one origin from fetching filesystem resources belonging to another origin. Note that this will also block web sites from requesting arbitrary extension filesystem URLs that lead to downloads, which is an intentional change discussed on 964245. An existing test in ProcessManagerBrowserTest is updated accordingly. Bug: 964245 Change-Id: I09023cc884278efef0bb4d16e584b2c5f1a5fd5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635876Reviewed-by:Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:
Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:
Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#667356}
Showing
Please register or sign in to comment