Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1697 Discretionary access control
  3. HBASE-3025

Coprocessor based simple access control

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.92.0
    • Coprocessors
    • None
    • Reviewed
    • This is part of an overall implementation of security features for HBase. This issue adds a new AccessController coprocessor which, when enabled, performs authorization checks on all cluster operations, using stored access control lists.

    Description

      Thanks for the clarification Jeff which reminds me to edit this issue.

      Goals of this issue

      1. Client access to HBase is authenticated
      2. User data is private unless access has been granted
      3. Access to data can be granted at a table or per column family basis.

      Non-Goals of this issue

      The following items will be left out of the initial implementation for simplicity:

      1. Row-level or per value (cell) This would require broader changes for storing the ACLs inline with rows. It's still a future goal, but would slow down the initial implementation considerably.
      2. Push down of file ownership to HDFS While table ownership seems like a useful construct to start with (at least to lay the groundwork for future changes), making HBase act as table owners when interacting with HDFS would require more changes. In additional, while HDFS file ownership would make applying quotas easy, and possibly make bulk imports more straightforward, it's not clean it would offer a more secure setup. We'll leave this to evaluate in a later phase.
      3. HBase managed "roles" as collections of permissions We will not model "roles" internally in HBase to begin with. We will instead allow group names to be granted permissions, which will allow some external modeling of roles via group memberships. Groups will be created and manipulated externally to HBase.

      While the assignment of permissions to roles and roles to users (or other roles) allows a great deal of flexibility in security policy, it would add complexity to the initial implementation.

      After the initial implementation, which will appear on this issue, we will evaluate the addition of role definitions internal to HBase in a new JIRA. In this scheme, administrators could assign permissions specifying HDFS groups, and additionally HBase roles. HBase roles would be created and manipulated internally to HBase, and would appear distinct from HDFS groups via some syntactic sugar. HBase role definitions will be allowed to reference other HBase role definitions.

      Attachments

        1. HBASE-3025.1.patch
          90 kB
          Andrew Kyle Purtell
        2. HBASE-3025_5.patch
          190 kB
          Gary Helmling
        3. HBASE-3025_6.patch
          189 kB
          Gary Helmling

        Issue Links

          Activity

            People

              Unassigned Unassigned
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: