Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 User can view all database names
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

2 Posts

Posted - 04/17/2008 :  10:32:29  Show Profile  Reply with Quote
I create a user then I create a database and assign my newly created user as owner

When I login as this new user everything works fine BUT my newly created user can still see other database names even though he is not allowed to use them.

How can I prevent him from seeing other database names.

P.S. I use the GUI

Thank you

Flowing Fount of Yak Knowledge

7174 Posts

Posted - 04/17/2008 :  11:21:13  Show Profile  Reply with Quote
you can't but they won't be able to access.
Go to Top of Page

Ola Hallengren
Starting Member

33 Posts

Posted - 04/17/2008 :  16:40:53  Show Profile  Visit Ola Hallengren's Homepage  Reply with Quote
I think that this is possible.

You could revoke the VIEW ANY DATABASE permission from public.


Ola Hallengren
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000