Can we restrict windows authentication or SA login to only selected databases?

  • Hi Experts,

    Can we restrict windows authentication or SA Login to only selected databases?

    We want to give the access of our server to Client so they want to do login with SA ,He can able to see all the databases which are there under that Instance.

    So we want to restrict him like

    >He can able to view only the particular database

    >He can do only some operation but not delete,Update..

    Is there any possibilities to do that, Pls help me out....:cool:

    Regards
    Chowdary...

  • The sa account is sysadmin, cannot be removed from that role. You cannot deny anything to a sysadmin. Someone with the sysadmin role can do anything to a SQL instance,

    p.s. Would you mind changing your avatar? It's incredibly distracting.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thank you Gail for your Response,

    Is there any alternate ways for that issue....

    Sorry for that Avathar...pls dont mind....:-)

    Regards
    Chowdary...

  • Don't give them the SA login. Create a login for them which has exactly the permissions you want them to have and no more.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply