EldoS | Feel safer!

Software components for data protection, secure storage and transfer

simplify access to filesystem from callbacks

Posted: 06/21/2010 03:00:18
by Eugene Mayevski (Team)

Currently, if I need to get access to a file from the callback, I have to track CbFltPostOpenFileC and CbFltPostCreateFileC, use OpenFile method in a proper moment of time, create context with refcounting, and store file handle there. And still I have to be very cautious, because some WinAPI functions called in improper moment of time will hang the system. This look too overcomplicated to me.
What I suggest, is an alternative - use a "magic suffix" to access files from callbacks. So, when I append this suffix to the file path passed to WinAPI functions, the CallbackFilter will know to pass all operations on this path directly to the filesystem and don't call any callbacks on it. This will avoid deadlocks in much simpler way.
If you like the idea, vote for it on http://www.eldos.com/cbflt/wishlist.php

Sincerely yours
Eugene Mayevski
Posted: 04/06/2013 08:36:01
by VoxPopuli Robot  (Team)

Idea status has been changed to Planned



Topic viewed 3185 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!