SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Administering Securely

By Steve Jones, 2009/07/08

Total article views: 75 | Views in the last 30 days: 4

BOFHThe other day I noticed a post where someone was asking a question that I've seen asked often. I still haven't seen a great solution, and I expect this question will continue to be asked for some time to come. The poster asked how to securely set up a database to prevent administrators from accessing the data.

Prior to SQL Server 2005 this was pretty much impossible. The sysadmin group was considered to be like a god inside the SQL Server and could access most anything. With 2005 there are more restrictions you can place on the administrator, and with the addition of encryption capabilities, you can prevent casual access to certain data.

However it's not easy, and most of the time the system administrator still has access to data for tuning, troubleshooting, disaster recovery, etc. That makes sense sometimes, and I feel that you really have to trust your administrator with a lot of responsibility and discretion. Sometimes, however, it's just not appropriate for the person that runs the server to see other data. Salary information, among other data, sometimes just isn't the business of the administrator.

I don't know how you handle this. Does the administrator just get access to the database as a container, able to attach it, back it up, restore it, and perform basic functions? Are they limited to setting security for users, but unable to access the objects themselves? I'm not even sure that's a valid way to handle things since the administrator can always set up a dummy account for themselves, or change someone's password and access data.

To me the best solution for secure administrator access is to have a second person audit all actions performed by a sysadmin. Kind of a default trace for sysadmins that is always running, and is not accessible to the administrator. Even then, it's probably only something that works in larger companies where you have enough people to dedicate to the task of reviewing things. Maybe policy based management (PBM) will help here at some point, limiting the access to data by administrators in an easy to understand manner that a manager of some sort can understand and audit.

There's no good solution now other than to trust your administrators to responsibly manage data, and that means hiring responsible people for the job.

Steve Jones


The Voice of the DBA Podcasts

Everyday Jones

The podcast feeds are available at sqlservercentral.mevio.com. Comments are definitely appreciated and wanted, and you can get feeds from there.

You can also follow Steve Jones on Twitter:

Overall RSS Feed: or now on iTunes!

Today's podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music. Support this great duo at www.everydayjones.com.

I really appreciate and value feedback on the podcasts. Let us know what you like, don't like, or even send in ideas for the show. If you'd like to comment, post something here. The boss will be sure to read it.

By Steve Jones, 2009/07/08

Total article views: 75 | Views in the last 30 days: 4
Your response
 
 
Related Articles
FORUM

Modifying access to local Administrator account

Modifying access to local Administrator account

FORUM

Restrict Access to a Database for Administrator

How to restrict access to Administrator

FORUM

REPORT MANAGER suddenly denying access to everyone (including Administrator!!)

Users can no longer access the report folders: Report Manager comes up, but all they see is "HOME" ...

FORUM

REPORT MANAGER suddenly denying access to everyone (including Administrator!!)

Users can no longer access the report folders: Report Manager comes up, but all they see is "HOME" ...

FORUM

Problem with accessing Report manager

Problem With accessing Report manager

Tags
editorial    
security    
 
Contribute

Free registration required...

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Login (existing users)

Login

Email:   Password:   Remember me: Forgotten your password?

Register (new users)

Register

Email:   Password:
Confirm:

Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

Steve Jones
Editor, SQLServerCentral.com