Informix

Informix

Connect with Db2, Informix, Netezza, open source, and other data experts to gain value from your data, share insights, and solve problems.

 View Only
  • 1.  How to alter a table become a read only one?

    Posted yesterday

    Hi,

          The develop DBA want to change some tables to read only , include the DBA himself can't update/insert/delete those record also. Do anyone have experience how to implement  it in informix? The document told me "You cannot revoke privileges from yourself."

         Any suggestion are welcome.



    ------------------------------
    chuan lu
    ------------------------------


  • 2.  RE: How to alter a table become a read only one?

    Posted yesterday
    Hi,

    from my perspective, this is what Infmrmix Security Policies are for.
    Have not used that, but you can find documentation here:

    Best,


    MARCUS HAARMANN






  • 3.  RE: How to alter a table become a read only one?

    Posted 9 hours ago

    HI,

         I have read those document about table privileges in version 11.50。With such requirement I can't use HDR/RSS read only feature, because some table still need to be modified. Customer want to change a part tables to read only. 

        Do anyone have additional suggestion? thanks for your time



    ------------------------------
    chuan lu
    ------------------------------



  • 4.  RE: How to alter a table become a read only one?

    Posted 5 hours ago

    Hi Chuan,
    My first recommendation - migrate to 14.10 or 15.0 . The next, to think about your user and role concept - levels, rules, HDR secondary updateable? 
    And maybe if you need some special handling of update/insert, you can use a trigger function to implement your business/security policy depending on the user. If you decide to use rules, you can set them with sysdbsopen procedure for each user.

    Best Regards, Henri



    ------------------------------
    Henri Cujass
    leolo IT, CTO
    Germany
    IBM Champion
    henri.cujass@leolo.com
    ------------------------------