문제

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.

도움이 되었습니까?

해결책

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

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top