EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Need information regarding ACCESS_MASK

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#12564
Posted: 02/23/2010 10:20:54
by Abhay Gumaste (Basic support level)
Joined: 01/27/2010
Posts: 14

Hi,

I observed in CbFsCreateFile and CbFsOpenFile there is one parameter having type ACCESS_MASK and also it is not used any where. As per my knowledge ACCESS MASK is part of Security Descriptor.

Can DesiredAccess parameter of ACCESS_MASK used to get security descriptor OR any other use of ACCESS_MASK parameter?
#12565
Posted: 02/23/2010 10:55:12
by Volodymyr Zinin (EldoS Corp.)

Hello,

CallbackFS processes the desired access parameter itself. I.e. if a file is opened only for read and a write request is done (by means of the obtained file handle) then the "access is denied" error will be returned immediately and the OnWrite callback won't be called.
So in common it isn't necessary to handle this parameter and it's passed to the OnCreate and OnOpen callbacks just for informational purpose.

Reply

Statistics

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