How to detect file readed

E

Enosh Chang

Hi all,

I want to monitor one directory (and its subdirectories) in local machine.
How can I detect who and when reading files? I used
System.IO.FileSystemWather, but I couldn't get an event who is reading. My
environment is Windows 2003. Thanks for any advice.

Best Regards
Enosh Chang
 
D

David Ching

Enosh Chang said:
I want to monitor one directory (and its subdirectories) in local machine.
How can I detect who and when reading files? I used
System.IO.FileSystemWather, but I couldn't get an event who is reading. My
environment is Windows 2003. Thanks for any advice.

This isn't provided by the normal file hooks. To do this, you either need a
kernel mode driver like SysInternals Process Monitor does, or else use API
hooking for all processes.

-- David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top