User Permission Domain Users

  • Hi,

    I am asked to restrict some and give extra permission to some user in our database server. when i checked all the users metioned are domain users and connecting using windows authentication.

    Now how would i give database permission to the domain users with out creating logins for them in database.

  • If I understand correctly the users in question are already connecting to the server using windows authentication and you need to change or add permissions to the database. The best way to handle this is to create database roles which have the required permissions and add the existing server logins to the appropriate role or roles.

  • Hi jack,

    Since it is in Mixed mode authentication... that wouldn't help bcoz they are no sql logins for the said users. They are connecting using windows authentication.

  • Even with Windows Authentication they have to be granted rights to the server. In SSMS under Security -> Logins the Windows Logins would look like domain\user_name. You then can assign those logins to be users of specific databases and put them into specific database roles. This is how SQL Server security works. If they are already connecting then they have to have Server Logins and if they can access any data they must be database users as well.

  • Thanks...i got it and updated the same. Created logins for those users and put them under various roles as public,data reader,dbo as per requirement.

    I was in belief that these logins hav administration rights in windows and thus hav adm. rights in sqlserver as well.

    thanz:::)

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

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