[ https://issues.apache.org/jira/browse/HIVE-17679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203791#comment-16203791 ]
Aihua Xu commented on HIVE-17679: --------------------------------- [~thejas] This change doesn't prevent XSRF, but I don't think HIVE-13853 would fix click jacking issue though. Hadoop has the jira HADOOP-12964 to fix click jacking issue. XSRF and click jacking seem to be different issues. See https://stackoverflow.com/questions/17013150/does-csrf-defense-also-defend-against-clickjacking. > http-generic-click-jacking for WebHcat server > --------------------------------------------- > > Key: HIVE-17679 > URL: https://issues.apache.org/jira/browse/HIVE-17679 > Project: Hive > Issue Type: Bug > Components: Security, WebHCat > Affects Versions: 2.1.1 > Reporter: Aihua Xu > Assignee: Aihua Xu > Fix For: 3.0.0 > > Attachments: HIVE-17679.1.patch, HIVE-17679.2.patch > > > The web UIs do not include the "X-Frame-Options" header to prevent the pages > from being framed from another site. > Reference: > https://www.owasp.org/index.php/Clickjacking > https://www.owasp.org/index.php/Clickjacking_Defense_Cheat_Sheet > https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options -- This message was sent by Atlassian JIRA (v6.4.14#64029)