Redirecting file and disk IO calls to VHD

67 Views Asked by At

Say I am programming a windows application in C/++ that would redirect all file system calls from a particular application to a VHD (virtual hard disk) in a way that the application cannot view or access any other drive. (It does not even know that they exist on the system). How would I go about programming this?

I assume I would have to use something like detours to hook the api calls, but am not sure which apis exactly I need to hook. Also, I would like to be able to do this without any kernel-mode drivers if possible.

0

There are 0 best solutions below