Re: NT ACL Manipulation
| From: | Alan Brown | Date: | Tue, 30 Apr 2002 01:18:52 +0000 |
| Subject: | Re: NT ACL Manipulation | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13409@lists.php.net to get a copy of this message | ||
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" <davidr@webcentral.com>
To: <php-windows@lists.php.net>
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
>
>