I have never found any detailed docs on the subject, but when I was playing
with IIS configuration, I found that it was capable of returning an ACL and
it is true that I can instantiate a component called "AccessControlEntry"

$ACE = new COM("AccessControlEntry");
$ACE->Trustee = "Administrator";
$ACE->AccessMask = 0x400AB; # Full control

A search on MSDN will probably reveal the full extent of these classes. I
assume that you will find a full set of objects to manipulate security on
any NT object. Perhaps they are only installed with IIS or WBEM or maybe
Win2K and later only. I am not sure. But they do exist and I have used them.

Alan.

----- Original Message -----
From: "David Redmond" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, 29 April, 2002 20:42
Subject: [PHP-WIN] NT ACL Manipulation


> Hi All,
>
> Is anyone aware of any components/modules that will allow PHP to read &
> modify NT ACLs?  Apart from having to shell to a utility such as 'xcacls',
I
> can't seem to find anything that will do the job.
>
> Cheers
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to