Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 702FA17AE8 for ; Tue, 27 Jan 2015 02:59:34 +0000 (UTC) Received: (qmail 57029 invoked by uid 500); 27 Jan 2015 02:59:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 56977 invoked by uid 500); 27 Jan 2015 02:59:34 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 56959 invoked by uid 99); 27 Jan 2015 02:59:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 02:59:34 +0000 Date: Tue, 27 Jan 2015 02:59:34 +0000 (UTC) From: "Liu Shaohui (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12916) No access control for replicating WAL entries 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/HBASE-12916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14292900#comment-14292900 ] Liu Shaohui commented on HBASE-12916: ------------------------------------- [~srikanth235] AccessController extends BaseMasterAndRegionObserver and has to implement the interface of RegionServerObserver, so we need empty function of postReplicateLogEntries at least. > No access control for replicating WAL entries > --------------------------------------------- > > Key: HBASE-12916 > URL: https://issues.apache.org/jira/browse/HBASE-12916 > Project: HBase > Issue Type: Bug > Components: Replication > Affects Versions: 2.0.0, 0.94.26, 0.98.12 > Reporter: Liu Shaohui > Assignee: Liu Shaohui > Attachments: HBASE-12916-v1.diff, HBASE-12916-v2.diff > > > Currently, there is no access control for replicating WAL entries in secure HBase cluster. Any authenticated user can write any data they want to any table of a secure cluster by using the replication api. > Simple solution is to add permission check before replicating WAL entries. And only user with global write permission can replicate WAL entries to this cluster. > Another option is adding "Replication" action in hbase and only user with "Replication" permission can replicate WAL entries to this cluster? > [~apurtell] > What's your suggestion? Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)