How do I keep myself (domain admin) from accessing files/folders on a server but still be able to back them up?

I've got an odd situation... I'm the IT manager for an organization that has multiple, independent groups that fall underneath it. I'm working on bringing everything together from a data standpoint as everyone is currently "doing their own thing". There will be a campus server that each group will have their own folder for storage and each group only has access to their folder.

One of the groups feels their data is sensitive enough that they don't even want me to be able to access it but they want it backed up... There is no PII, no financial info, no HIPAA, nothing.

I've looked at a few things like EFS but that seems cumbersome for them to access their data. Between that and maintaining encryption keys for all of them, I'm still not 100% sure that I could have permissions to back up their data without the correct key (and with the correct key, I can just access their data).

This set up would be their day to day file storage and not just data at rest.

I get that they should trust their IT admins and I plan on having a conversation with everyone's bosses but I need to be able to say I've done my due diligence on this and try to come up with a solution.

Posted Nov 1, 2023, 1:13 PM UTC

118
Sasataf12•

There's a difference between having access to the data, and being able to get access to the data.

Your backup solution should be using a service account, so that should satisfy their concerns.

41

OP, this is the correct answer.

If the department in question has a problem with you having the physical capability of getting access to the data but not explicit access, that's something they need to swallow. At the end of the day SOMEONE has to be the admin with access.

8
MedicatedLiver•

Confirmed. Service Accounts are the way.

2
MeshuganaSmurf•

I don't think there is any scenario where you retain the ability to manage the files and permissions to them and simultaneously aren't able to access them should you feel like it.

You should be using a separate account for whatever is running your backups but at the end of the day someone will need to retain the ability to manage those shares.

Unless you're willing to hand that off to the department in question?

7
gregarious119IT Manager•

This is the conclusion we arrived to. No matter how many barriers, at the end of the day an admin is still an admin.

4
TheFluffiestRedditorSol10 or kill -9 -1•

If it's that sensitive, then they can manage it themselves. Part of the transaction of handing over management and responsibility for a thing is providing appropriate levels of access to the management entity (you). It's the same problem (well solved already) when engaging consultants or contractors - contracts, communication and expectation management.

7
ArcOfADream•

If it's that sensitive, then they can manage it themselves.

Had this same thing come up years ago with a now-defunct company's c-suite guys and they didn't a) want anyone to be able to access their files, and b) too lazy/incompetent to do it themselves. They were also floating the idea of an "executive mail system" so their email would be on an exclusive system.

My explanation was simple: Yes, I have access to administrator accounts and in order to perform my functions/duties that was unavoidable. And that's part of what you pay me for - as a professional, I don't peek. Have lawyers draw up an NDA or whatever for it, but what they were asking for (..especially with the 1990s tech available at the time) just wasn't gonna happen. Which they reluctantly did, and all was fine. Until they got themselves a few tens-of-millions in debt buying out lesser "competitiors" that turned out to be so many stones around the corporate neck and the whole thing went tits-up.

5
ManWithoutUsername•

there is ways of doing that like create a user with access rights for backup and remove admin rights on that files.

but that always stupid, as a admin you can assign new perms and you going to have (you need) access to the backups for check.

6
nightwatch_admin•

Yes, admins in the end can assign and obtain rights and privileges. As others have said, dedicated, limited service accounts are the way to go. Then add monitoring of access, and have alerts sent if someone unauthorised reads their data specifically.

1
JacerEx•
  1. Backups shouldn’t run under a user account that someone uses to do their daily work or an admin account. A lot of folks give the backup account permission to everything and it’s just lazy. Don’t do it.

  2. For NTFS permissions there is a security group called backup operators. Being a member of this group will allow file reads to files that you don’t have access to, if they’re flagged as a backup. Windows backup is flagged as backup, but robocopy with a /b flag is also run as a back up job.

  3. Create a service account, don’t make it an admin. Assign it the back up operator security group either at the domain level or via gpo to the servers you want that account to backup.

  4. Ensure the job is running in a backup context and then run the job as that service account. Have a user you trust in the group create a dummy file, run the backup, have them delete the file and then test a restore.

6
Ostendenoare•

Use a backup account? what am I missing?

4
Capn_Moose_knuckl•

Service account with interactive logins/RDP disabled

3
Cormacolinde•

Encrypt the data.

They can access their data with their private key (protected by their personal password). You can see and backup the encrypted data. Use a file encryption system that allows for a recovery key, that you keep offline and under physical supervision of your and their boss for recovery purposes. Windows EFS will do this.

3
Relevant_Elephants•

Yeah it seems like a convo with them about it is the best path. There are certain actions which will just simply require global or system admin permissions which includes access to files. Maybe you could compromise and say something like “you can have someone from your team supervise me while I perform the backup on your section, then we can remove those permissions”

Or leave that compromise off the table if you think you can get through to them about the fact that this kind of permission is inevitable when it comes to system administrators.

2
BrainWaveCCJack of All Trades•

How do I keep myself (domain admin) from accessing files/folders on a server but still be able to back them up?

Professionalism and self-control.

From a need-to-assure-others standpoint, you can pursue the following:

As several others have pointed out, make sure that the backup solution for their data is using an account that has access to the data in lieu of other, broader groups (i.e. Domain Admins, Enterprise Admins) that would otherwise have access to that data.

Now, your ability to access that data will be one step removed.

2
starkaero•

Short answer is file encryption, one tool I know that works encrypting files with access control is a product called "XQ Vault". They have tools for email as well that will flag and tag emails as well to keep sensitive data secure.

2
jbarlocker•

!remindme 1 week

1
TuxAndrew•

Do you work at my university?

1