Exemplo n.º 1
0
 public static extern int MakeSelfRelativeSD(ref SECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
                                             ref SECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
                                             ref int lpdwBufferLength);
Exemplo n.º 2
0
 public static extern int RegSetKeySecurity(IntPtr hKey, int SecurityInformation,
                                            ref SECURITY_DESCRIPTOR pSecurityDescriptor);
Exemplo n.º 3
0
 public static extern int AccessCheckAndAuditAlarm(string SubsystemName, IntPtr HandleId, string ObjectTypeName,
                                                   string ObjectName, SECURITY_DESCRIPTOR SecurityDescriptor,
                                                   int DesiredAccess, GENERIC_MAPPING GenericMapping,
                                                   int ObjectCreation, int GrantedAccess, int AccessStatus,
                                                   ref int pfGenerateOnClose);
Exemplo n.º 4
0
 public static extern int MakeAbsoluteSD(ref SECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
                                         ref SECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
                                         ref int lpdwAbsoluteSecurityDescriptorSize, ref ACL pDacl,
                                         ref int lpdwDaclSize, ref ACL pSacl, ref int lpdwSaclSize, IntPtr pOwner,
                                         ref int lpdwOwnerSize, IntPtr pPrimaryGroup,
                                         ref int lpdwPrimaryGroupSize);
Exemplo n.º 5
0
 public static extern int SetSecurityDescriptorOwner(ref SECURITY_DESCRIPTOR pSecurityDescriptor, IntPtr pOwner,
                                                     int bOwnerDefaulted);
Exemplo n.º 6
0
 public static extern int GetUserObjectSecurity(IntPtr hObj, ref int pSIRequested, ref SECURITY_DESCRIPTOR pSd,
                                                int nLength, ref int lpnLengthNeeded);
Exemplo n.º 7
0
 public static extern int GetSecurityDescriptorControl(ref SECURITY_DESCRIPTOR pSecurityDescriptor,
                                                       short pControl, ref int lpdwRevision);
Exemplo n.º 8
0
 public static extern int SetPrivateObjectSecurity(int SecurityInformation,
                                                   SECURITY_DESCRIPTOR ModificationDescriptor,
                                                   SECURITY_DESCRIPTOR ObjectsSecurityDescriptor,
                                                   GENERIC_MAPPING GenericMapping, int Token);
Exemplo n.º 9
0
 public static extern int GetKernelObjectSecurity(IntPtr handle, int RequestedInformation,
                                                  ref SECURITY_DESCRIPTOR pSecurityDescriptor, int nLength,
                                                  ref int lpnLengthNeeded);
Exemplo n.º 10
0
 public static extern int GetPrivateObjectSecurity(ref SECURITY_DESCRIPTOR ObjectDescriptor,
                                                   int SecurityInformation,
                                                   SECURITY_DESCRIPTOR ResultantDescriptor, int DescriptorLength,
                                                   int ReturnLength);
Exemplo n.º 11
0
 public static extern int GetFileSecurity(string lpFileName, int RequestedInformation,
                                          ref SECURITY_DESCRIPTOR pSecurityDescriptor, int nLength,
                                          ref int lpnLengthNeeded);
Exemplo n.º 12
0
 public static extern int DestroyPrivateObjectSecurity(ref SECURITY_DESCRIPTOR ObjectDescriptor);
Exemplo n.º 13
0
 public static extern int CreatePrivateObjectSecurity(ref SECURITY_DESCRIPTOR ParentDescriptor,
                                                      SECURITY_DESCRIPTOR CreatorDescriptor,
                                                      SECURITY_DESCRIPTOR NewDescriptor, int IsDirectoryObject,
                                                      int Token, GENERIC_MAPPING GenericMapping);
Exemplo n.º 14
0
 public static extern int SetFileSecurity(string lpFileName, int SecurityInformation,
                                          ref SECURITY_DESCRIPTOR pSecurityDescriptor);
Exemplo n.º 15
0
 public static extern int GetSecurityDescriptorDacl(ref SECURITY_DESCRIPTOR pSecurityDescriptor,
                                                    ref int lpbDaclPresent, ref ACL pDacl,
                                                    ref int lpbDaclDefaulted);
Exemplo n.º 16
0
 public static extern int SetKernelObjectSecurity(IntPtr handle, int SecurityInformation,
                                                  SECURITY_DESCRIPTOR SecurityDescriptor);
Exemplo n.º 17
0
 public static extern int GetSecurityDescriptorLength(ref SECURITY_DESCRIPTOR pSecurityDescriptor);
Exemplo n.º 18
0
 public static extern int SetSecurityDescriptorGroup(ref SECURITY_DESCRIPTOR pSecurityDescriptor, IntPtr pGroup,
                                                     int bGroupDefaulted);
Exemplo n.º 19
0
 public static extern int InitializeSecurityDescriptor(ref SECURITY_DESCRIPTOR pSecurityDescriptor,
                                                       int dwRevision);
Exemplo n.º 20
0
 public static extern int SetSecurityDescriptorSacl(ref SECURITY_DESCRIPTOR pSecurityDescriptor, int bSaclPresent,
                                                    ref ACL pSacl, int bSaclDefaulted);
Exemplo n.º 21
0
 public static extern int IsValidSecurityDescriptor(ref SECURITY_DESCRIPTOR pSecurityDescriptor);
Exemplo n.º 22
0
 public static extern int SetUserObjectSecurity(IntPtr hObj, ref int pSIRequested, ref SECURITY_DESCRIPTOR pSd);
Exemplo n.º 23
0
 public static extern int AccessCheck(ref SECURITY_DESCRIPTOR pSecurityDescriptor, int ClientToken,
                                      int DesiredAccess, GENERIC_MAPPING GenericMapping,
                                      PRIVILEGE_SET PrivilegeSet, int PrivilegeSetLength, int GrantedAccess,
                                      int Status);