SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

ggaudreau
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

sodeep
Flowing Fount of Yak Knowledge

USA
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

Sweden
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.

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
  Previous Topic Topic Next Topic  
 New 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.04 seconds. Powered By: Snitz Forums 2000