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 2008 Forums
 Transact-SQL (2008)
 Deny View Any Database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jbosco1988
Starting Member

USA
46 Posts

Posted - 09/24/2012 :  16:46:36  Show Profile  Send jbosco1988 a Yahoo! Message  Reply with Quote
Hello,

IN SQL 2008/2012 is there any way to make so a user only can see the databases that they have access to.

I have tried the following

Deny View any Database to Public
Deny View any Database to User

When I do the above all I see is the Master and Tempdb.

How do I change so the user can see the database they have access to.

Thanks,

Jim

lionofdezert
Aged Yak Warrior

Pakistan
885 Posts

Posted - 09/25/2012 :  04:09:38  Show Profile  Visit lionofdezert's Homepage  Send lionofdezert a Yahoo! Message  Reply with Quote
Unfortunatly NO.
Read this... http://connectsql.blogspot.com/2010/12/sql-server-hide-database-name-in-ssms.html



--------------------------
http://connectsql.blogspot.com/
Go to Top of Page

jbosco1988
Starting Member

USA
46 Posts

Posted - 09/25/2012 :  16:32:18  Show Profile  Send jbosco1988 a Yahoo! Message  Reply with Quote
Ok thanks for the reply.
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.08 seconds. Powered By: Snitz Forums 2000