You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/04/02 15:43:00 UTC

[jira] [Commented] (IMPALA-12031) Add security-related HTTP headers

    [ https://issues.apache.org/jira/browse/IMPALA-12031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707684#comment-17707684 ] 

ASF subversion and git services commented on IMPALA-12031:
----------------------------------------------------------

Commit 59667b751b1aaac808c83a276e458e55ba116512 in impala's branch refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=59667b751 ]

IMPALA-12031: Add security-related HTTP headers

Adds security-related headers
- X-Content-Type-Options: nosniff
- Cache-Control: no-store
- Strict-Transport-Security: max-age=31536000; includeSubDomains

These are primarily no-ops as Impala never serves HTTP and HTTPS at the
same time, and does not provide any way to upload files.
Strict-Transport-Security is only added when serving HTTPS.

Testing:
- manually interacted with web UI over HTTP and HTTPS, verified headers
  in responses
- ran webserver-test

Change-Id: I58e12961e7faa31f42bc2e6bd4de23b56e3dfd5f
Reviewed-on: http://gerrit.cloudera.org:8080/19661
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Add security-related HTTP headers
> ---------------------------------
>
>                 Key: IMPALA-12031
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12031
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>    Affects Versions: Impala 4.2.0
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Major
>
> Add
> * {{Strict-Transport-Security: max-age=31536000; includeSubDomains}} when Impala serves HTTPS. Note that Impala's web server only serves HTTP or HTTPS, never both at once.
> * {{X-Content-Type-Options: nosniff}}. Impala does not provide any way to upload files.
> * {{Cache-control: no-store}}
> to Impala's web UI to provide additional comfort for security folks.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org