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

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 User can view all database names

Author  Topic 

ggaudreau
Starting Member

2 Posts

Posted - 2008-04-17 : 10:32:29
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

sodeep
Master Smack Fu Yak Hacker

7174 Posts

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

Ola Hallengren
Starting Member

33 Posts

Posted - 2008-04-17 : 16:40:53
I think that this is possible.

You could revoke the VIEW ANY DATABASE permission from public.

REVOKE VIEW ANY DATABASE FROM PUBLIC

http://www.microsoft.com/technet/serviceproviders/wbh4_5/CMSU_DH_Plan_CONC_SQL_Server_Management_Studio.mspx?mfr=true

Ola Hallengren
http://ola.hallengren.com
Go to Top of Page
   

- Advertisement -