hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10379) Protect authentication cookies with the HttpOnly and Secure flags
Date Tue, 04 Mar 2014 01:36:23 GMT

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

Haohui Mai commented on HADOOP-10379:
-------------------------------------

Comment 1: Please see http://docs.oracle.com/javaee/6/api/javax/servlet/SessionCookieConfig.html#setSecure(boolean)

Comment 2: The configuration is unnecessary. There is no backward compatibility issue since
(1) only the browser will respect the flag, and (2) any violations of the flags are security
vulnerabilities.

> Protect authentication cookies with the HttpOnly and Secure flags
> -----------------------------------------------------------------
>
>                 Key: HADOOP-10379
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10379
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>         Attachments: HADOOP-10379.000.patch
>
>
> Browser vendors have adopted proposals to enhance the security of HTTP cookies. For example,
the server can mark a cookie as {{Secure}} so that it will not be transfer via plain-text
HTTP protocol, and the server can mark a cookie as {{HttpOnly}} to prohibit the JavaScript
to access that cookie.
> This jira proposes to adopt these flags in Hadoop to protect the HTTP cookie used for
authentication purposes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message