Re: Ruby Windows administration



Quoting happy-jack <timgerr@xxxxxxxxx>:

> What I want do is grant ntfs rights to a folder. I did not see
> anything on folder and domain user.

Unfortunately that is a really ugly can of worms that you aren't
likely to find a ready-made solution for in any language.

The only option that really works is to use the Windows NT 3.5
security APIs in C, but those require you to manually
marshal/unmarshal the data structures to/from flat buffers
yourself.

Windows NT 4 introduced some additional API functions that would
have been easier to use, but they were never implemented correctly,
at least up through and including Windows 2000. I can only assume
that Microsoft stuck with the NT 3.5 security APIs for use in their
own software.

-mental


.



Relevant Pages

  • Re: Windows XP Home Accessing Shared Folders on SBS
    ... > I am having problems accessing shared folders on a Windows SBS 2003 from a ... > Windows XP Home box. ... A particular folder when shared with "Everyone" ... > I want to ensure that only users that have domain user accounts on the ...
    (microsoft.public.windows.server.sbs)
  • Windows XP Home Accessing Shared Folders on SBS
    ... I am having problems accessing shared folders on a Windows SBS 2003 from a ... Windows XP Home box. ... A particular folder when shared with "Everyone" ... I want to ensure that only users that have domain user accounts on the ...
    (microsoft.public.windows.server.sbs)
  • RE: priviledge escalation techniques
    ... the 'c:\program' technique. ... The OS I used was windows XP pro sp2. ... folders are users: read & execute and list (this folder, ... The domain user does not have the privilege to create schedules with the ...
    (Pen-Test)
  • share folder
    ... I have a problem about shared folder. ... have Windows 2000 server and all client PCs are Windows XP ... While I use Domain user to logon and cannot shared locally ...
    (microsoft.public.windowsxp.basics)
  • Re: Problems with AppData on Vista.
    ... Its actually the ACL stuff im most unsure about. ... traditionally has had to run on Windows 9X where the security APIs simply ... CreateDirectory - specifically in the Common_AppData folder, ...
    (microsoft.public.platformsdk.security)