EldoS | Feel safer!

Software components for data protection, secure storage and transfer

simplify access to filesystem from callbacks

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#13722
Posted: 06/21/2010 03:00:18
by Eugene Mayevski (EldoS Corp.)

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
#24466
Posted: 04/06/2013 08:36:01
by VoxPopuli Robot  (EldoS Corp.)

Idea status has been changed to Planned

Reply

Statistics

Topic viewed 2494 times

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




|

Back to top

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

Got it!