EldoS | Feel safer!

Software components for data protection, secure storage and transfer

File Operation deny is not working

Posted: 07/11/2008 13:44:27
by Devesh Mittal (Basic support level)
Joined: 07/11/2008
Posts: 8


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?

Posted: 07/12/2008 00:55:28
by Vladimir Cherniga (Team)

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.



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