Home Forums Hive / HCatalog Hive Security

This topic contains 3 replies, has 3 voices, and was last updated by  Mani Raman 1 year, 3 months ago.

  • Creator
    Topic
  • #20962

    Mani Raman
    Member

    Hi – I have installed HDP in a 3 node cluster & configured hive with mysql.

    Question is – Any O/S user is able to get into hive & create their own DB + they can drop or modify others as well.
    Is there an config entry that can be controlled to avoid this – meaning, users should not have create database (in hive) privilege by default – but should be given on demand basis.

    Also – how can we make sure user1 will not query or see user2 db – unless the privelge is given explictily (say, using a ROLE).

    Thanks in advance,
    Mani

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #22532

    Mani Raman
    Member

    Thanks Robert & Larry.

    Collapse
    #21035

    Robert
    Participant

    Hi Mani,
    I believe the following information may help:

    https://cwiki.apache.org/HCATALOG/storage-based-authorization.html

    Regards,
    Robert

    Collapse
    #21022

    Larry Liu
    Moderator

    Hi, Mani,

    Thanks for using HDP.

    This is a very good question. This issue has been addressed by us.

    Here is the useful information where you could find how hive will solve this issue.

    https://cwiki.apache.org/HCATALOG/storage-based-authorization.html

    Larry

    Collapse
Viewing 3 replies - 1 through 3 (of 3 total)