[
https://issues.apache.org/jira/browse/HBASE-27811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nihal Jain resolved HBASE-27811.
--------------------------------
Fix Version/s: 3.0.0-alpha-4
Hadoop Flags: Reviewed
Resolution: Fixed
Will reopen, if back port jira is raised.
> Enable cache control for logs endpoint and set max age as 0
> -----------------------------------------------------------
>
> Key: HBASE-27811
> URL: https://issues.apache.org/jira/browse/HBASE-27811
> Project: HBase
> Issue Type: Improvement
> Reporter: Yash Dodeja
> Assignee: Yash Dodeja
> Priority: Minor
> Fix For: 3.0.0-alpha-4
>
>
> Not setting the proper header values may cause browsers to store pages within
> their respective caches. On public, shared, or any other non-private
> computers, a malicious person may search through the browser cache to locate
> sensitive information cached during another user's session.
> /logs endpoint contains sensitive information that an attacker can exploit.
> Any page with sensitive information needs to have the following headers in
> response:
> Cache-Control: no-cache, no-store, max-age=0
> Pragma: no-cache
> Expires: -1
--
This message was sent by Atlassian Jira
(v8.20.10#820010)