EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Need information regarding ACCESS_MASK

Posted: 02/23/2010 10:20:54
by Abhay Gumaste (Basic support level)
Joined: 01/27/2010
Posts: 14


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?
Posted: 02/23/2010 10:55:12
by Volodymyr Zinin (Team)


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.



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