Fastream Technologies wrote:
> BTW, I see that this demo cannot get permissions for folders (only
> files). Is there a special reason for this?

It works with directories as well, of course. And with a few changes
with all Securable Objects. I uploaded the source code here:
http://www.duodata.de/misc/delphi/ChkAcc.zip
But hav not checked BCB compatibility, though I think it should
work with BCB as well.

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


> 
> Regards,
> 
> SZ
> 
> ----- Original Message -----
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing" <twsocket@elists.org>
> Sent: Saturday, September 01, 2007 1:32 PM
> Subject: Re: [twsocket] Question regarding ActiveDirectory in FTP for
> Arno 
> 
> 
>> Arno Garrels wrote:
>>> I use these Windows API functions:
>>> GetNamedSecurityInfo()
>>> MapGenericMask()
>>> AccessCheck()
>>> 
>>> Anyway, I don't know how to translate the resulting mask to unix
>>> format, also there's no reliable way to get the effective rights of
>>> users without having the user access token, even XP shows sometimes
>>> nonsense effektive rights of not logged on users.
>> 
>> Btw: If you want to see the above functions in action get this small
>> demo binary from here : http://www.duodata.de/misc/delphi/ChkAcc.zip
>> And then tell us your idea how to form the UNIX mask from it, that
>> includes three parts for Owner, Group and Public.
>> 
>> Arno Garrels
>> --
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to