dbTalk Databases Forums  

SqlServer 2005: Show only the databases with rights?

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss SqlServer 2005: Show only the databases with rights? in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
steve
 
Posts: n/a

Default SqlServer 2005: Show only the databases with rights? - 12-10-2009 , 03:55 PM






Hi;

I'm not a DBA.

I'm working with some people who are running Microsoft SqlServer
2005. Right now, when people log into management studio, they see a
list of every single database, whether or not they have read writes.

They can't actually get into the database.

However, since we have so many databases I think it would be useful to
have the tree on the left of management studio show only databases
that the users have at least read access too.

Is there a setting somewhere to achieve this?

Thanks in advance

Steve

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SqlServer 2005: Show only the databases with rights? - 12-10-2009 , 04:26 PM






steve (tinker123 (AT) gmail (DOT) com) writes:
Quote:
I'm working with some people who are running Microsoft SqlServer
2005. Right now, when people log into management studio, they see a
list of every single database, whether or not they have read writes.

They can't actually get into the database.

However, since we have so many databases I think it would be useful to
have the tree on the left of management studio show only databases
that the users have at least read access too.

Is there a setting somewhere to achieve this?
Not really. You say

REVOKE VIEW ANY DATABASE TO <login>

However, if you do this, people will only see the system databases and
databases they are owner of. For the rest, they will be fumbling in a
dark room.

And, no, it is not any better in SQL 2008.

But you can vote here on Connect to nag Microsoft a little more
about it:
https://connect.microsoft.com/SQLSer...dbackID=273830


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
  #3  
Old   
steve
 
Posts: n/a

Default Re: SqlServer 2005: Show only the databases with rights? - 12-11-2009 , 08:32 AM



On Dec 10, 5:26*pm, Erland Sommarskog <esq... (AT) sommarskog (DOT) se> wrote:
Quote:
Not really. You say

* *REVOKE VIEW ANY DATABASE TO <login

However, if you do this, people will only see the system databases and
databases they are owner of. For the rest, they will be fumbling in a
dark room.

And, no, it is not any better in SQL 2008.

But you can vote here on Connect to nag Microsoft a little more
about it:https://connect.microsoft.com/SQLSer...edback.aspx?Fe...
Thanks for the quick and useful reply. I will vote. From a security
perspective I'm surprised they allowed this.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.