How to create an admin with some limitations?

How to create an admin with some limitations?

am 17.08.2007 08:54:53 von bertainafederico

I've a SQL 2005 with a certain number of db.
Until today i was the only admin of all dbs.
Now i need to give to another admin permission to manage one specific
db (but only that).
Ho censito un utente di sql con accessi abilitati solo a quel db.
If i connect to Enterprise manager with that limited login there is a
problem: i see (only see)
all dbs, also db where this login is not autorized.
How can i work for not permitting this login to see other dbs? He
only
can see them but i
don't want because of privacy. Is it possible?

Re: How to create an admin with some limitations?

am 17.08.2007 09:10:09 von Erland Sommarskog

(bertainafederico@gmail.com) writes:
> I've a SQL 2005 with a certain number of db.
> Until today i was the only admin of all dbs.
> Now i need to give to another admin permission to manage one specific
> db (but only that).
> Ho censito un utente di sql con accessi abilitati solo a quel db.
> If i connect to Enterprise manager with that limited login there is a
> problem: i see (only see)
> all dbs, also db where this login is not autorized.
> How can i work for not permitting this login to see other dbs? He
> only
> can see them but i
> don't want because of privacy. Is it possible?

Did you try DENY VIEW ANY DATABASE TO Tizio as I suggested in response to
your Italian post?


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

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

Re: How to create an admin with some limitations?

am 17.08.2007 09:38:15 von bertainafederico

Yes, i try and now i can work correctly with limited user onto the
database.
But in the listing of db i can't see any db... So now the problem is
making possible to the user
viewing his db

Re: How to create an admin with some limitations?

am 17.08.2007 09:45:30 von bertainafederico

My limited user now can only see master and tempdb in the list of
dbs...

Re: How to create an admin with some limitations?

am 17.08.2007 15:01:52 von bertainafederico

Ok, resolved reading an italian tutorial. Thanks of all