sxingfeng
sxingfeng

Reputation: 1087

How to Get File security attribute in windows

I am using c++ MFC

How can I get the file security attribute in windows, is there any handy api?

Many thanks!

Upvotes: 1

Views: 4177

Answers (3)

MSalters
MSalters

Reputation: 180050

There's no handy C++ API, at least not in MFC. The CFile model supports any kind of file system: NTFS, but also FAT and CDFS (for CD-ROMs). Hence it generalized a lot. NTFS-specific features such as ACL, ADS etcetera are not supported. You'll still need to use the raw Win32 API for that.

Upvotes: 1

RP.
RP.

Reputation: 725

Could you please check

The Windows Access Control Model Part 1

The Windows Access Control Model: Part 2

Also, take a look here Windows Access Control

Upvotes: 2

Mugunth
Mugunth

Reputation: 14499

Are you looking for something like this?

http://msdn.microsoft.com/en-us/library/aa446639(VS.85).aspx

Upvotes: 1

Related Questions