Question

I have a user Sql Authentication account that has remote access to my database server. The user has a default database, and is only able to access or modify that DB. So far so good. However, I'd like to prevent the user from viewing the other databases that he doesn't have access to anyway.

Inside server permissions, I can deny the user the ability to "View Any Database", but then he can't see even the one database he's allowed to modify. He can still execute SQL against it, but he has no gui access through sql mgmt studio.

Is there a way to set this up properly?

Thanks.

Was it helpful?

Solution

You can allow view in SSMS if your remote login owns the database.. which is different to db_owner

OTHER TIPS

Try setting Server Role to Public and Database Role to db_owner.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top