[
https://issues.apache.org/jira/browse/KUDU-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18148086#comment-18148086
]
ASF subversion and git services commented on KUDU-3824:
-------------------------------------------------------
Commit 215e76e23979e27c21489fbc0bafdadc208de473 in kudu's branch
refs/heads/branch-1.17.x from Alexey Serbin
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=215e76e23 ]
KUDU-3824: add Referrer-Policy HTTP header
Add configurable security-related Referrer-Policy HTTP header [1]
to the embedded webserver's responses.
There was also a motion to add Permissions-Policy header, but it's of
'Limited Availability' according to MDN [2], so it's not added. As for
the X-XSS-Protection header, it's non-standard and deprecated, and its
usage is highly controversial even with older/legacy web browsers [3],
so it wasn't added either.
I also did cosmetic updates on the description of run-time flags that
control other security-related HTTP headers to make the descriptions
more uniform.
This is a follow-up to [4].
[1]
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy
[2]
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy
[3]
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-XSS-Protection
[4] https://github.com/apache/kudu/commit/26ad5ad96
DONT_BUILD
Change-Id: Ia82d1c2aaede605913e765048c1b8e84d1e4c655
Co-authored-by: Cursor <[email protected]>
Reviewed-on: https://gerrit.cloudera.org/25260
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Gabriella Lotz <[email protected]>
Reviewed-by: Marton Greber <[email protected]>
(cherry picked from commit 9fcda007651a78d9de855839c3b8789cce9b7d78)
Reviewed-on: https://gerrit.cloudera.org/25552
Reviewed-by: Attila Bukor <[email protected]>
Tested-by: Attila Bukor <[email protected]>
> Add Referrer-Policy HTTP header to the embedded webserver responses
> -------------------------------------------------------------------
>
> Key: KUDU-3824
> URL: https://issues.apache.org/jira/browse/KUDU-3824
> Project: Kudu
> Issue Type: Task
> Components: master, tserver
> Reporter: Alexey Serbin
> Assignee: Alexey Serbin
> Priority: Major
> Fix For: 1.19.0
>
>
> To lessen risk of leaking potentially-private information and please
> automated security scanners, let's add the [Referrer-Policy HTTP
> header|https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy]
> into the embedded webserver responses.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)