Re: Allow users to only see their mapped DBs



Erland,

Do you think MS developers will do something about this matter in SQL Server 2008?

I also get this kind of questions from our local newsgroups and I also say "it's not possible -at least for this version of SQL Server".

As far as I know, there were some feedbacks about this issue and people were voting for it. However I don't know if MS has taken an action or not. If there's an improvement about it in SS2008, I believe you must be know about it.

--
Ekrem Önsoy




"Erland Sommarskog" <esquel@xxxxxxxxxxxxx> wrote in message news:Xns9AC481961FCAYazorman@xxxxxxxxxxxx
Rob (Rob@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
How can I can allow my users to only see the DBs their user ID has been
mapped to when they open up SSMS? When they open up SSMS today, they can
see all the DBs; I want to restrict their view to only the DBs that
their ID is mapped to.

That is not possible. You can revoke the VIEW ANY DATABASE permission,
but then users will only be able to see databases they own.

--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

.



Relevant Pages

  • Re: Enter Todays Date in SSMS Open Table Grid View
    ... If you don't want to consult your watch, you will have to write an INSERT ... Is there an SSMS ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: View Columns do not show in Object Explorer
    ... up in SSMS, and that's where Object Explorer lives. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: Query training -- Complex queries
    ... > Update PositionsEOM ... Here you don't have a derived table, but a correlated subquery. ... UPDATE in Books Online. ... is not written for SQL Server. ...
    (microsoft.public.sqlserver.server)
  • Re: SSMS Query Editor... Vs Query Analyser
    ... > close SSMS. ... > I'm just venting my frustration with the SQL 2005 tools. ... >> Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... >> Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: Linked Server: How to check if server exists?
    ... The root problem is described in the Books Online topic Batches. ... Rick Byham, SQL Server Books Online ... linked server don't run on those development machines not having that linked ...
    (microsoft.public.sqlserver.connect)