Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCF1D938B for ; Wed, 21 Sep 2011 19:19:30 +0000 (UTC) Received: (qmail 2431 invoked by uid 500); 21 Sep 2011 19:19:30 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 2362 invoked by uid 500); 21 Sep 2011 19:19:30 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 2353 invoked by uid 99); 21 Sep 2011 19:19:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 19:19:30 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 19:19:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 38267A69BB for ; Wed, 21 Sep 2011 19:19:09 +0000 (UTC) Date: Wed, 21 Sep 2011 19:19:09 +0000 (UTC) From: "Harsh J (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <650045906.52089.1316632749227.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <973491157.10786.1315616589783.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7621) alfredo config should be in a file not readable by users MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-7621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109796#comment-13109796 ] Harsh J commented on HADOOP-7621: --------------------------------- +1. BP looks good, but please remove whitespaces from src/core/org/apache/hadoop/security/AuthenticationFilterInitializer.java and src/docs/src/documentation/content/xdocs/HttpAuthentication.xml and supply a fresh patch before committing it! Modified test pass locally: {code} [junit] Running org.apache.hadoop.security.TestAuthenticationFilter [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.373 sec {code} > alfredo config should be in a file not readable by users > -------------------------------------------------------- > > Key: HADOOP-7621 > URL: https://issues.apache.org/jira/browse/HADOOP-7621 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 0.20.205.0, 0.23.0, 0.24.0 > Reporter: Alejandro Abdelnur > Assignee: Aaron T. Myers > Priority: Critical > Fix For: 0.24.0 > > Attachments: HADOOP-7621-branch-0.20-security.patch, HADOOP-7621.patch, HADOOP-7621.patch, HADOOP-7621.patch > > > [thxs ATM for point this one out] > Alfredo configuration currently is stored in the core-site.xml file, this file is readable by users (it must be as Configuration defaults must be loaded). > One of Alfredo config values is a secret which is used by all nodes to sign/verify the authentication cookie. > A user could get hold of this secret and forge authentication cookies for other users. > Because of this the Alfredo configuration, should be move to a user non-readable file. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira