Property | Type | Description | |
---|---|---|---|
AllocateAndInitializeSecurityDescriptor | void | ||
AreFlagsSet | bool | ||
CheckIsValid | void | ||
Clear | void | ||
SecurityDescriptor | System | ||
SecurityDescriptor | System | ||
UnsafeSetDacl | void | ||
UnsafeSetGroup | void | ||
UnsafeSetOwner | void | ||
UnsafeSetSacl | void |
Method | Description | |
---|---|---|
GetFileSecurity ( string fileName ) : |
Return the security descriptor of a given filename
|
|
GetFileSecurity ( string fileName, SECURITY_INFORMATION secInfo ) : |
Return the selected components of the security descriptor of a given filename
|
|
GetKernelObjectSecurity ( |
||
GetKernelObjectSecurity ( |
Return the selected components of the security descriptor of a given kernel object handle
|
|
GetNamedSecurityInfo ( string objectName, SE_OBJECT_TYPE objectType, SECURITY_INFORMATION securityInfo ) : |
||
GetRegistryKeySecurity ( |
||
GetSecurityInfo ( |
||
MakeAbsolute ( ) : void | ||
MakeSeflRelative ( ) : void | ||
SecurityDescriptor ( ) : System |
Create an emtpy security descriptor
|
|
SetDacl ( Microsoft.Win32.Security.Dacl dacl ) : void | ||
SetDacl ( Microsoft.Win32.Security.Dacl dacl, bool defaulted ) : void | ||
SetFileSecurity ( string fileName, SECURITY_INFORMATION secInfo ) : void | ||
SetGroup ( Microsoft.Win32.Security.Sid group ) : void | ||
SetGroup ( Microsoft.Win32.Security.Sid group, bool defaulted ) : void | ||
SetKernelObjectSecurity ( |
||
SetNamedSecurityInfo ( string objectName, SE_OBJECT_TYPE objectType, SECURITY_INFORMATION securityInfo ) : void | ||
SetNullDacl ( bool defaulted ) : void | ||
SetOwner ( Microsoft.Win32.Security.Sid owner ) : void | ||
SetOwner ( Microsoft.Win32.Security.Sid owner, bool bDefaulted ) : void | ||
SetRegistryKeySecurity ( |
||
SetSacl ( Microsoft.Win32.Security.Sacl sacl ) : void | ||
SetSacl ( Microsoft.Win32.Security.Sacl sacl, bool defaulted ) : void | ||
SetSecurityInfo ( |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
AllocateAndInitializeSecurityDescriptor ( ) : void | ||
AreFlagsSet ( ) : bool | ||
CheckIsValid ( ) : void | ||
Clear ( ) : void | ||
SecurityDescriptor ( |
Internal: Create a security decriptor from a pointer to unmanged memory
|
|
SecurityDescriptor ( |
||
UnsafeSetDacl ( |
||
UnsafeSetGroup ( |
||
UnsafeSetOwner ( |
||
UnsafeSetSacl ( |
public static GetFileSecurity ( string fileName ) : |
||
fileName | string | The filename |
return |
public static GetFileSecurity ( string fileName, SECURITY_INFORMATION secInfo ) : |
||
fileName | string | The filename |
secInfo | SECURITY_INFORMATION | The components of the security descriptor to return |
return |
public static GetKernelObjectSecurity ( |
||
handle | ||
return |
public static GetKernelObjectSecurity ( |
||
handle | ||
secInfo | SECURITY_INFORMATION | The components of the security descriptor to return |
return |
public static GetNamedSecurityInfo ( string objectName, SE_OBJECT_TYPE objectType, SECURITY_INFORMATION securityInfo ) : |
||
objectName | string | |
objectType | SE_OBJECT_TYPE | |
securityInfo | SECURITY_INFORMATION | |
return |
public static GetRegistryKeySecurity ( |
||
hKey | ||
secInfo | SECURITY_INFORMATION | |
return |
public static GetSecurityInfo ( |
||
handle | ||
objectType | SE_OBJECT_TYPE | |
securityInfo | SECURITY_INFORMATION | |
return |
public SetDacl ( Microsoft.Win32.Security.Dacl dacl ) : void | ||
dacl | Microsoft.Win32.Security.Dacl | |
return | void |
public SetDacl ( Microsoft.Win32.Security.Dacl dacl, bool defaulted ) : void | ||
dacl | Microsoft.Win32.Security.Dacl | |
defaulted | bool | |
return | void |
public SetFileSecurity ( string fileName, SECURITY_INFORMATION secInfo ) : void | ||
fileName | string | |
secInfo | SECURITY_INFORMATION | |
return | void |
public SetGroup ( Microsoft.Win32.Security.Sid group ) : void | ||
group | Microsoft.Win32.Security.Sid | |
return | void |
public SetGroup ( Microsoft.Win32.Security.Sid group, bool defaulted ) : void | ||
group | Microsoft.Win32.Security.Sid | |
defaulted | bool | |
return | void |
public SetKernelObjectSecurity ( |
||
handle | ||
secInfo | SECURITY_INFORMATION | |
return | void |
public SetNamedSecurityInfo ( string objectName, SE_OBJECT_TYPE objectType, SECURITY_INFORMATION securityInfo ) : void | ||
objectName | string | |
objectType | SE_OBJECT_TYPE | |
securityInfo | SECURITY_INFORMATION | |
return | void |
public SetOwner ( Microsoft.Win32.Security.Sid owner ) : void | ||
owner | Microsoft.Win32.Security.Sid | |
return | void |
public SetOwner ( Microsoft.Win32.Security.Sid owner, bool bDefaulted ) : void | ||
owner | Microsoft.Win32.Security.Sid | |
bDefaulted | bool | |
return | void |
public SetRegistryKeySecurity ( |
||
hKey | ||
secInfo | SECURITY_INFORMATION | |
return | void |
public SetSacl ( Microsoft.Win32.Security.Sacl sacl ) : void | ||
sacl | Microsoft.Win32.Security.Sacl | |
return | void |
public SetSacl ( Microsoft.Win32.Security.Sacl sacl, bool defaulted ) : void | ||
sacl | Microsoft.Win32.Security.Sacl | |
defaulted | bool | |
return | void |
public SetSecurityInfo ( |
||
handle | ||
objectType | SE_OBJECT_TYPE | |
securityInfo | SECURITY_INFORMATION | |
return | void |