Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a client who wants us to lock down the Mac laptops we're using to access his data. He wants an audit of all files read and written from removable media (USB, FireWire, optical). I have a sister question re: finding a commercial app for this, but I'm starting to feel like the only fun^H^H^H suitable solution will be DIY.

Does Cocoa have an API to audit the bus/device, any identifiers (S/N, vendorID, et.al.), the filesystem metadata (stat()) and blocks in/out, etc.? Does dtrace do this!?

I could reinstall every laptop with ZFS and mirror any external device via copy-on-write...

share|improve this question

1 Answer 1

You might also take a look at the FSEvents API, although I think this only tracks writes, not reads.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.