EldoS | Feel safer!

Software components for data protection, secure storage and transfer

"Audit" cannot be operated.

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#29977
Posted: 07/03/2014 02:46:16
by Naoki Takami (Standard support level)
Joined: 11/09/2009
Posts: 23

I updated the version of CBFS to 5 from 4.
It became impossible then, to change "audit" of security information.
The following messages will be displayed if an "audit" tab is opened.
The demanded security information cannot be used or is not displayed.
Change of the right to access and an owner can be performed without a problem.
What should I do in order to be able to change "audit"?
#29978
Posted: 07/03/2014 02:49:01
by Eugene Mayevski (EldoS Corp.)

Please specify which API you use and on what OS are you testing the function.


Sincerely yours
Eugene Mayevski
#29983
Posted: 07/03/2014 03:50:09
by Naoki Takami (Standard support level)
Joined: 11/09/2009
Posts: 23

I am checking by Windows7 and Windows2008R2.
When a security window is displayed from the property window of Explorer, it is in the above-mentioned state.
Moreover, when the code of the following of C# is executed, it is checking that "SystemAcl" is not contained in SecurityInformation of CbFsGetFileSecurityEvent.
Code
DirectoryInfo dinf = new DirectoryInfo(@"V:\test");
DirectorySecurity dsec = dinf.GetAccessControl(AccessControlSections.All);
#29989
Posted: 07/03/2014 06:30:22
by Volodymyr Zinin (EldoS Corp.)

Is the problem reproducible with the Mapper sample?
As I see the Mapper sample in its OnGetFileSecurity callback has the following code:
Code
//
// Getting SACL_SECURITY_INFORMATION requires the program to
// execute elevated as well as the SE_SECURITY_NAME privilege
// to be set. So just remove it from the request.
//
uint SACL_SECURITY_INFORMATION = 0x00000008;
SecurityInformation &= ~SACL_SECURITY_INFORMATION;
if (SecurityInformation == 0)
  return;

So maybe the problem is because of this.
#29992
Posted: 07/03/2014 19:23:10
by Naoki Takami (Standard support level)
Joined: 11/09/2009
Posts: 23

It was repaired, when changing the code as directed.
Thank you.
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

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