3

I am programming in C++ MFC, windows.

What is the best practice to get a file attribute(such as read only), and security attribute(such as read deny write deny) in windows XP, Vista, and Win7?

and What is the best practice to modify a file attribuute and security attribute?

Many thanks!!!

sxingfeng
  • 971
  • 4
  • 15
  • 32

1 Answers1

1

Could you please check C++ - How to set file permissions (cross platform) ?

Also, take a look here Windows Access Control

Community
  • 1
  • 1
RP.
  • 717
  • 2
  • 13
  • 29