SQL 2005 Login

  • One of our user needs to have read access to one user database.

    SO I created SQL login(mixed mode) and granted read access on db.

    User Installed SQL 2005 on his machine and remotly able to connect to SQL server and read the data from db. He don't have access to other user databases including MSDB,Model.

    But, He has the access to master database. How to restrict the user from accessing master db

    Please advice

  • Revoke the permission on master database. Grant permissions on the requisite database make it the default database for that login

    Pradeep Adiga
    Blog: sqldbadiaries.com
    Twitter: @pradeepadiga

  • Hi Pradeep, Thank you for your reply.

    Can you please guide me how to do from SSMS or any script is there.

    Appreciate your help

  • In SSMS, expand server | expand Security | expand Logins | right-click on user ID | User Mapping

    Hope this helps.

    Chris Powell

    George: You're kidding.
    Elroy: Nope.
    George: Then lie to me and say you're kidding.

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

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