Re: Restricting Access priviledge on SQL2000
- From: "Rick Byham, \(MSFT\)" <rickbyh@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 18 Mar 2008 14:08:13 -0700
The design of SQL Server prevents you from locking anyone out of the system databases. They must have access to master, to get their login validated and determine which databases they can then use. And they need tempdb to perform many routine operations. The general idea, is that they can access master and the other system databases, but they can't necessarily do anything when there. That is, the ability to create a new database is an action performed in master, but just because anyone can get into master, doesn't mean they can create databases.
So if you didn't make these users sysadmins, or go out of your way to give them rights in master, you should be fine. If they have some unexpected right, then that's a problem that can be addressed.
--
Rick Byham (MSFT)
This posting is provided "AS IS" with no warranties, and confers no rights.
"topokin" <topokin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:6B17750F-B8B0-4E25-94BE-F491F5B472AE@xxxxxxxxxxxxxxxx
Thanks for the response.
The "Application-Administrators" are neither members of sysadmin nor
Local-Administrators of the SQL-Server. They actually have access only to
their respective database, but as well as to the defaults database (master,
msdb, tempdb). It is in these default database that I will like to resctrict
their access.
Thanks
topokin
"Rick Byham, (MSFT)" wrote:
You must have made the "Application-Administrators" members of the sysadmin
role in SQL Server.
Take them out of the sysadmin role, add them as users in the correct
database, then make them members of the db_owner role in that database. Then
they will have full privileges in that database, but not others.
I'm assuming that the "Application-Administrators" do not need administrator
privilege on the computer so they aren't members of the domain
administrators or the local administrators group. If they must have such
membership, then add the real SQL Server admins (you) specifically to the
SQL Server sysadmins role, and remove the BUILTIN\Administrators from the
SQL Server sysadmins role. BE CAREFUL HERE. If you remove
BUILTIN\Administrators from the sysadmins role you might lock yourself and
everyone else out as sysadmins. Make double sure you (or others) are members
of the SQL Server sysadmin role under their own specific login, before you
remove BUILTIN\Administrators. If possible, it's better to just remove the
"Application-Administrators" from the computer local administrators group.
--
Rick Byham (MSFT)
This posting is provided "AS IS" with no warranties, and confers no rights.
"Uri Dimant" <urid@xxxxxxxxxxx> wrote in message
news:%23%23AapKQhIHA.4140@xxxxxxxxxxxxxxxxxxxxxxx
> Hi
> >Giving this access however allow them
>> priviledges on other database,
>
> What do you mean? What kind priviledges? I doubt that you can achive > it
> without adding them to sysadmin server role
> can you be more specific?
>
>
>
> "topokin" <topokin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:7566BC29-2CF2-4BB8-8A59-58B6354CF802@xxxxxxxxxxxxxxxx
>>I have Application-Administrators that need to have access through EM >>to
>> their database on an SQL2000 Server. Giving this access however allow
>> them
>> priviledges on other database, including the default DB (Master, mode,
>> etc)
>> on the Server.
>>
>> Is there a way to rescrict each administrator to his/her own specific
>> database.
>>
>> Thanks,
>> topokin
>
>
.
- References:
- Re: Restricting Access priviledge on SQL2000
- From: Uri Dimant
- Re: Restricting Access priviledge on SQL2000
- From: Rick Byham, \(MSFT\)
- Re: Restricting Access priviledge on SQL2000
- From: topokin
- Re: Restricting Access priviledge on SQL2000
- Prev by Date: Re: user permissions
- Next by Date: Re: user permissions
- Previous by thread: Re: Restricting Access priviledge on SQL2000
- Next by thread: Re: Trace File with null time SQL2000
- Index(es):
Relevant Pages
|