EldoS | Feel safer!

Software components for data protection, secure storage and transfer

File Operation deny is not working

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#6903
Posted: 07/11/2008 13:44:27
by Devesh Mittal (Basic support level)
Joined: 07/11/2008
Posts: 8

Hi

I have to deny file creation based on some conditions. While creating file, I am getting control in CbFltCreateFileEventC method and I am able to check the condition but the file is being created even if I set ProcessRequest to false.

I suppose setting ProcessRequest to false is the way to denying the request but I wonder why It is not working.

Can you please help me?

Thanks
#6907
Posted: 07/12/2008 00:55:28
by Vladimir Cherniga (EldoS Corp.)

Hi,
try to add the same filter logic to the CbFltOpenFileEventC callback.
There are some open requests may leads to the file creation. This may happens during NtCreateFile() win32 api call with CreateDisposition parameter equal to FILE_OPEN_IF, FILE_OVERWRITE_IF or FILE_SUPERSEDE value.

Reply

Statistics

Topic viewed 3062 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!