Hi
I would like to write a service which monitors all files transferred to and from a USB flash drive.
I know how to read the drives every x amount of seconds, check what 'type' of drive they are (CD, HD, Removeable). I could run through all the files and directories on the removeable drive and take a list of them, then on the next cycle take another list, and play spot the difference. By checking the times, I can tell if more files have been added to the USB drive.
However it would be good, to somehow log all of the files which are transferred from the USB key as well, and short of logging the contents of every drive (which obviously isnt practical), I dont know how to do it. Is there something in Windows I could tie in with?
Any tips/advice would be great thanks
Jay
I would like to write a service which monitors all files transferred to and from a USB flash drive.
I know how to read the drives every x amount of seconds, check what 'type' of drive they are (CD, HD, Removeable). I could run through all the files and directories on the removeable drive and take a list of them, then on the next cycle take another list, and play spot the difference. By checking the times, I can tell if more files have been added to the USB drive.
However it would be good, to somehow log all of the files which are transferred from the USB key as well, and short of logging the contents of every drive (which obviously isnt practical), I dont know how to do it. Is there something in Windows I could tie in with?
Any tips/advice would be great thanks
Jay