wbsat25
June 6th, 2003, 01:38 PM
I don't have much administrative experience and programming shares for first time using win32...sorry forgive possibly a naive question
my objective is to programmatically set permissions for shares
I could not find any 'specific access rights' table for shares (as for files)
I have not figured out despite several attempts how to set bits for "read" and "change" permissions in the access mask when i use functions like addaccessllowedace and denied ace's
the "no access" and "full control" parts are working fine...but not read and change as i get only "special access" as the output
i am sure it is a piece of cake for a fairly experienced security API guy ...any help?
my objective is to programmatically set permissions for shares
I could not find any 'specific access rights' table for shares (as for files)
I have not figured out despite several attempts how to set bits for "read" and "change" permissions in the access mask when i use functions like addaccessllowedace and denied ace's
the "no access" and "full control" parts are working fine...but not read and change as i get only "special access" as the output
i am sure it is a piece of cake for a fairly experienced security API guy ...any help?