Re: ACL's Security

From: Herb Martin (news_at_LearnQuick.com)
Date: 12/31/04


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
>


Relevant Pages

  • Re: NTFS default special permissions
    ... sure you noticed that the discussion is about a volume, not a folder. ... permissions do not assume that you want a read-only volume. ... the special permissions that are necessary for that to occur. ... FOLDERS/APPEND DATA AND CREATE FILES/WRITE DATA CREATED. ...
    (Focus-Microsoft)
  • Disk permission errirs just keep on coming...
    ... I am having a lot of disk permission errors. ... signify or what I could do to correct them, other than keep on repairing ... Determining correct file permissions. ... We are using special permissions for the file or directory ...
    (comp.sys.mac.system)
  • Re: File Replication errors n Event log on Server
    ... Authenicated users Read & Execute, List Folder Contents, read & special permissions special ... Server Operator - Read & Execute, List Folder Contents, read & special permissionsspecial permissions ...
    (microsoft.public.windows.server.general)
  • Re: Disk permission errirs just keep on coming...
    ... > I am having a lot of disk permission errors. ... > signify or what I could do to correct them, other than keep on repairing ... > Determining correct file permissions. ... > We are using special permissions for the file or directory ...
    (comp.sys.mac.system)
  • Re: NTFS default special permissions
    ... I believe that both of you have misunderstood the original question. ... Folders/Append Data and Create Files/Write Data. ... "The default permissions for Users are Read & Execute, List Folder Contents, ... Subject: NTFS default special permissions ...
    (Focus-Microsoft)