Limit Database List to Ones With Permission SQL Server

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 17:47:05

This blog talks about methods for hiding DBs for both SQL 2000 and SQL 2005.

After having my client struggle with the identified resources I did some testing and created this blog posting with a bit more context and instruction on how to get this working.

The short of it is:

use master
go
deny VIEW any DATABASE to login1
go

where login1 is the login account that you want to limit.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!