Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11434

[AccessController] Disallow inbound cells with reserved tags

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.0, 0.98.4
    • None
    • None
    • Reviewed

    Description

      The AccessController allows users to store cells with ACL tags encoded by the client. This isn't a security issue currently, because in order to store the cell the user must have a relevant WRITE grant, and the user is allowed to specify whatever ACL for the cell they'd like. However it could become a correctness problem in the future, if we introduce format sanity checking or the like, so let's disallow inbound mutations containing cells with reserved tags like the VisibilityController does.

      The check is skipped if the active user is a superuser. First, superusers are allowed to do anything. Second, replication (as superuser) must be able to store incoming cells with ACL tags.

      Attachments

        1. HBASE-11434.patch
          11 kB
          Andrew Kyle Purtell
        2. HBASE-11434.patch
          11 kB
          Andrew Kyle Purtell
        3. HBASE-11434.patch
          9 kB
          Andrew Kyle Purtell
        4. HBASE-11434.patch
          9 kB
          Andrew Kyle Purtell

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: