Hi,
I have an FSD minifilter that encrypts noncached IRPs for specified
files. The FSD works fine if none of the specified files are read
before the FSD starts filtering (FltStartFiltering()). However, if an
encrypted file is read before filtering, the file is not decrypted
during filtering (probably because it is in cache). To solve this, I
believe I need to clear the cache or disable reading of encrypted
files before filtering.
- What is the better solution (clear cache or disable reading)?
- If I clear the cache, how do I clear the cache before filtering?
Any documentation or APIs? - If disable reading, how do I disable reading of the specified file
before the start of filtering? - Is there a better solution to this? Is reboot the only option?
Thank you,
Marc