Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Privileges required for reading available databases (MS SQL Server)

Privileges required for reading available databases (MS SQL Server)

Scheduled Pinned Locked Moved Database
databasesql-serversysadminsecuritytutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eduard Keilholz
    wrote on last edited by
    #1

    Hey friends, I have serveral usergroups in AD and I want each group to have read / write acces to one or more databases in SQL Server. I know how to set the privileges so that each database is accessable by the correct usergroup and not for all other groups, but I don't know how to set permissions required to query SQL Server which databases are accessable for the user currently logged on. I'm using integrated security. Anyone?

    .: I love it when a plan comes together :. http://www.zonderpunt.nl

    M W 2 Replies Last reply
    0
    • E Eduard Keilholz

      Hey friends, I have serveral usergroups in AD and I want each group to have read / write acces to one or more databases in SQL Server. I know how to set the privileges so that each database is accessable by the correct usergroup and not for all other groups, but I don't know how to set permissions required to query SQL Server which databases are accessable for the user currently logged on. I'm using integrated security. Anyone?

      .: I love it when a plan comes together :. http://www.zonderpunt.nl

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Eduard Keilholz wrote:

      I'm using integrated security.

      IMHO that is where you are going wrong. AD is both too much and too little to meet application security. We maintain our own user authorisation, especially as we have a 2 day turn around on AD changes. How do you test each group functionality, use different logins for each group X| Users are authenticated via AD and then are given a profile that includes a list of apps they have access to and the functionality they have within the app.

      Never underestimate the power of human stupidity RAH

      1 Reply Last reply
      0
      • E Eduard Keilholz

        Hey friends, I have serveral usergroups in AD and I want each group to have read / write acces to one or more databases in SQL Server. I know how to set the privileges so that each database is accessable by the correct usergroup and not for all other groups, but I don't know how to set permissions required to query SQL Server which databases are accessable for the user currently logged on. I'm using integrated security. Anyone?

        .: I love it when a plan comes together :. http://www.zonderpunt.nl

        W Offline
        W Offline
        Wendelius
        wrote on last edited by
        #3

        Hi, when connected to SQL Server, executing sp_helpdb[^] without any parameters lists all the databases available to the login. Best regards, mika

        The need to optimize rises from a bad design.My articles[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups