Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 8A7B37D8E for ; Fri, 14 Oct 2011 22:16:34 +0000 (UTC) Received: (qmail 77938 invoked by uid 500); 14 Oct 2011 22:16:34 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 77872 invoked by uid 500); 14 Oct 2011 22:16:34 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 77856 invoked by uid 99); 14 Oct 2011 22:16:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 22:16:34 +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; Fri, 14 Oct 2011 22:16:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DD138308F92 for ; Fri, 14 Oct 2011 22:16:12 +0000 (UTC) Date: Fri, 14 Oct 2011 22:16:12 +0000 (UTC) From: "Owen O'Malley (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1073822694.15809.1318630572906.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <24984446.50730.1313704707621.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-2858) MRv2 WebApp Security 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/MAPREDUCE-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127912#comment-13127912 ] Owen O'Malley commented on MAPREDUCE-2858: ------------------------------------------ Luke, I would think that the urls should be http://proxyhost:proxyport/appmaster/$appid. That way you can hold them stable if the AM is replaced by a new container. Also, the proxy should be doing *NO* parsing or rewriting of the pages. The AM should generate urls that go through the proxy directly. Since everything is going through the proxy, there are no credentials that can be stolen by a malicious AM and thus you need no re-writing, signing of jars, etc. That is a *MUCH* simpler model and provides the same level of security. > MRv2 WebApp Security > -------------------- > > Key: MAPREDUCE-2858 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2858 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Components: applicationmaster, mrv2, security > Affects Versions: 0.23.0 > Reporter: Luke Lu > Assignee: Luke Lu > Priority: Blocker > Fix For: 0.23.0 > > > In MRv2, while the system servers (ResourceManager (RM), NodeManager (NM) and NameNode (NN)) run as "trusted" > system users, the application masters (AM) run as users who submit the application. While this offers great flexibility > to run multiple version of mapreduce frameworks (including their UI) on the same Hadoop cluster, it has significant > implication for the security of webapps (Please do not discuss company specific vulnerabilities here). > Requirements: > # Secure authentication for AM (for app/job level ACLs). > # Webapp security should be optional via site configuration. > # Support existing pluggable single sign on mechanisms. > # Should not require per app/user configuration for deployment. > # Should not require special site-wide DNS configuration for deployment. > This the top jira for webapp security. A design doc/notes of threat-modeling and counter measures will be posted on the wiki. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira