Yes and no. Yes, you definitely want to use the Win32 API vs. manipulating any SACL directly, but to start with I would recommend using Dave Roth's Win32::Perms module. You will have to add his repository to PPM before you can use it.
c:\>PPM PPM> set repository dave http://www.roth.net/perl/packages PPM> set save PPM> install Win32-Perms -----Original Message----- From: Malachy [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 7:32 PM To: [EMAIL PROTECTED] Subject: Binary values I am diving into a new realm here and needing to modify the SACL in a registry key. This basically holds the perms for the RDP-Connector. The idea being to be able to parse all of the values and see what they are then modify them and set them. The format is BYTE buffer[4096]; BYTE acl[1024]; DWORD dwAcl = sizeof(acl); BYTE sacl[1024]; DWORD dwSacl = sizeof(sacl); BYTE sidOwner[1024]; DWORD dwSidOwner = sizeof(sidOwner); BYTE sidGroup[1024]; DWORD dwSidGroup = sizeof(sidGroup); DWORD dwSize = sizeof(buffer); HKEY hKey = NULL; LONG lResult; BYTE AbsSD[4096]; BYTE AbsModifiedSD[4096]; DWORD dwAbsMod = sizeof(AbsModifiedSD); What would be the best approach for this? Win32-API? Thanks _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
