Re: ACL's Security
From: Herb Martin (news_at_LearnQuick.com)
Date: 12/31/04
- Next message: Herb Martin: "Re: Administrator gets locked out"
- Previous message: soumen_at_gmail.com: "Re: Failure of Win API LsaQueryTrustedDomainInfo(..) on a WinNT machine with IN parameter to information class as TrustedDomainInformationEx"
- In reply to: Badri: "Re: ACL's Security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 31 Dec 2004 01:37:07 -0600
"Badri" <badrinathmodale@gmail.com> wrote in message
news:1104471066.551704.77190@z14g2000cwz.googlegroups.com...
> I want to set permission thr' C++. So i will require to define the ACE
> string. Now i want to give "List Folder Contents" permissions not any
> other. I am not able to get the ACE string for "List Folder Contents".
> If i give Generic read and excecute GR and GX , the permissions will be
> "List Folder contents" , Read , read and excecute. Here i want only
> List Folder Contents. And contraint is i should not any other tool such
> as Cacls.
It's been ages since I did this -- this is not a programming
list of course.
> Can anybody suggest me ACE string?
> The sample for Generic read and excecute is below
>
> #define SC_CONFIG_USER_DIR_DACL L"D:"\
> L"(A;OICI;GRGX;;;SY)"\
You need to find the constants for the actual or individual
permissions -- what the GUI calls "special permissions".
This should be precisely one bit and it will be the same
value as the Read File Contents (not the generic one of
course with the execute and read attributes but just the
read of the file or list of the directory.)
You might also need the read attributes and extended
attributes however. Try searching the header files
for some of these words to find the correct set of
"special" constants.
-- Herb Martin >
- Next message: Herb Martin: "Re: Administrator gets locked out"
- Previous message: soumen_at_gmail.com: "Re: Failure of Win API LsaQueryTrustedDomainInfo(..) on a WinNT machine with IN parameter to information class as TrustedDomainInformationEx"
- In reply to: Badri: "Re: ACL's Security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|