Re: Restricting Access to BUILTIN\Administrators

From: Mark J. McGinty (mmcginty_at_spamfromyou.com)
Date: 06/22/05


Date: Wed, 22 Jun 2005 09:00:34 -0700


"BC DBA" <BCDBA@discussions.microsoft.com> wrote in message
news:E7A2AE6A-971A-434C-B2B0-FC33419DA356@microsoft.com...
> Next thought remove the BUILTIN group from the System Administrators Role
> and remove access to each of the databases on the server. Problem is that
> it
> has database owner ticked for each database in EM and when I remove that I
> get the following
>
> Error 15405: Cannot use the reserved user or role name 'dbo'.

You need to change the database owner (by calling sp_changedbowner) for each
database first, then remove the builtin group from the sysadmin role.

> Looking at one of the databases my domain user is the owner and there is
> no
> other user so I don't think that changing the dbo for each of the
> databases
> will help.

If the domain user in this case is one of the ones for which you want to
restrict SQL access, this change will do that, they won't have access
anymore. If the domain user is one that will be added to the SQL admin
group, access will be granted via role membership, so no harm no foul.

Be sure that the default db is valid for the ones that will have access,
because if it isn't they won't be able to login -- master is always a safe
choice.

-Mark



Relevant Pages

  • Re: How do I give ASP.NET process network credentials?
    ... The domain user needs certain proviledges - acting as part of the operating ... >>> Source Safe database is not a database in the traditional sense of the ... >>> my interactive session network credentials. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: How do I give ASP.NET process network credentials?
    ... What implications does asigning this user as a domain user have? ... >> Source Safe database is not a database in the traditional sense of the ... >> VSS API in order to access the VSS database on dimension. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Problem with sp_tables_rowset;2 (Domain Users vs Domain Groups)
    ... Recently we bought a 3rd party application that connects to our database ... This app works fine if we use a domain user and grant it access to the ... db - instead the user is member of a domain group and this group is added to ... I tracked that the app uses an sp to ...
    (microsoft.public.sqlserver.programming)
  • Problem with sp_tables_rowset;2 (Domain Users vs Domain Groups)
    ... Recently we bought a 3rd party application that connects to our database ... This app works fine if we use a domain user and grant it access to the ... db - instead the user is member of a domain group and this group is added to ... I tracked that the app uses an sp to ...
    (microsoft.public.sqlserver.security)
  • Re: MS SQL Server OLAP data access with oledb
    ... > I made a webpage in asp.NET that access data trough Oledb and everything ... When I moved the OLAP Database to a different computer our Database ... > Server I get an error when I try to open the OledbConnection. ... Either use a domain user for the website and for ...
    (microsoft.public.dotnet.languages.csharp)