How to set REadonly permission of a folder.

S

Shadab

Hi friends,
I want to set Readonly permission of folder through programming. i uses
SetFileSecurity but i am unable to set the same.
Any help would be appriciated.

Regards,
Shadab
 
B

Ben Voigt [C++ MVP]

Shadab said:
Hi friends,
I want to set Readonly permission of folder through programming. i
uses SetFileSecurity but i am unable to set the same.
Any help would be appriciated.

You want to change the access control list (i.e. give read permission to
someone, but not write or change or append or delete or ...)? Or do you
mean the readonly attribute?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top