Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2016
    Posts
    1

    Unanswered: Grant User Access To Specific Schemas in DB2

    Hi

    I am new to DB2 and am using DB2 on windows. Created a db2 database as a source for Cognos IBM and all is well.

    I have a requirement to restrict users to view specific schemas in my database. When a add in a new active directory user into DB2, this user appears to view all schemas in database. I cant seem to find a sql script or in Data Studio how to restrict this user from only seeing certain schemas, not all ?

    Thanks

  2. #2
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    My guess is that PUBLIC has the access, and everyone is a member of public. Start by revoking privileges from PUBLIC.

    Andy

  3. #3
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    have a look at infocenter to understand db2 security model
    have a look at sysibm.systabauth
    how do you add users to db2 ?
    view schemas/catalog is not the same as viewing data
    you mean schemas or data for schemas : be more specific/precise
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •