Lucy,
> I noticed there is a 1MB file named regfData under C:\, but how is this file
Registry Filter creates and initializes a file-backed ramdisk used to circumvent specified registry keys through the Write Filters
(EWF, FBWF). On that ramdisk it stores files that contain the selected key contents. That file is stored under the root of your
protected volume and called regfData.
I suspect that the way the \regfData gets away from the EWF protectation is through a mehanism similar to the EwfCommitFile. On
FBWF, of course, it is much easier to by-pass the protection for the selected file.
> related to the file I set for FileNameForSaving? How do I make such a (reg or
> rgf) file for this registry filter purpose?
You don't have to. Reg.Filter does that for you.
> Or do I just specify the file
> name, the Registry filter create and maintain the file under c:\ for me?
Yes, this is pretty much the case. You just name it and the filter driver will create it for you on its own ramdisk.
A little bit more info about this you can find here:
http://km-dev.blogspot.com/2007/04/x...urity-key.html
> Do you have any insight how the "internal EwfCommitFile" works. Does it
> commit the data into protected volume every time the value is changed, or do
> we have any control?
There is not much documentation availalble for the API funciton :-( No control available.
Basically the restrictions you already know - no change in size or location.
I may also imagine the implementation is simple - follow the configuraiton EWF find out what disk sectors the specified file is
occupying and excludes those sectors from the EWF overlay cache.
--
=========
Regards,
KM