• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 588
  • Last Modified:

Possible to deny sa access to Database?

Is it possible to deny a system administrator access to a particular database?  The situtation is this...we are installing an application and database on a client's server.  They would like us to use their SQL Server to host the database for maintenance issues but we don't want to allow them unfettered access to the database.  Is this possible and how?

Brian Crowe
Brian Crowe
1 Solution
Anthony PerkinsCommented:
You cannot deny sa to specific databases.  You can deny sa from the whole server by setting SQL Server to use Windows Authentication only.
Cant comment on SQL 2005 as i dont know enough about it yet,  but if this is SQL 2000 then irrespective of what SQL permissions are granted, if someone stops sql and attatches the DBs to another SQL database then the'll bypass the security.   The only thing you can do is either secure the box itself (ie not on clients server) or encrypt the database.

acperkins is right. The sa has rights in every database.
Brian CroweAuthor Commented:
That's what I figured.  I just wanted to make sure that I wasn't missing something.  Thank you all for your comments.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now