484 lines
28 KiB
C#
484 lines
28 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Security.Principal;
|
|
|
|
namespace System.Security.AccessControl
|
|
{
|
|
/// <summary>Provides the ability to control access to objects without direct manipulation of Access Control Lists (ACLs). This class is the abstract base class for the <see cref="T:System.Security.AccessControl.CommonObjectSecurity" /> and <see cref="T:System.Security.AccessControl.DirectoryObjectSecurity" /> classes.</summary>
|
|
// Token: 0x020004D4 RID: 1236
|
|
public abstract class ObjectSecurity
|
|
{
|
|
// Token: 0x06002DCB RID: 11723 RVA: 0x00093F58 File Offset: 0x00092158
|
|
internal ObjectSecurity()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.ObjectSecurity" /> class.</summary>
|
|
/// <param name="isContainer">true if the new <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object is a container object.</param>
|
|
/// <param name="isDS">True if the new <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object is a directory object.</param>
|
|
// Token: 0x06002DCC RID: 11724 RVA: 0x00093F60 File Offset: 0x00092160
|
|
protected ObjectSecurity(bool isContainer, bool isDS)
|
|
{
|
|
this.is_container = isContainer;
|
|
this.is_ds = isDS;
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Type" /> of the securable object associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</summary>
|
|
/// <returns>The type of the securable object associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</returns>
|
|
// Token: 0x17000907 RID: 2311
|
|
// (get) Token: 0x06002DCD RID: 11725
|
|
public abstract Type AccessRightType { get; }
|
|
|
|
/// <summary>Gets the <see cref="T:System.Type" /> of the object associated with the access rules of this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object. The <see cref="T:System.Type" /> object must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</summary>
|
|
/// <returns>The type of the object associated with the access rules of this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</returns>
|
|
// Token: 0x17000908 RID: 2312
|
|
// (get) Token: 0x06002DCE RID: 11726
|
|
public abstract Type AccessRuleType { get; }
|
|
|
|
/// <summary>Gets the <see cref="T:System.Type" /> object associated with the audit rules of this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object. The <see cref="T:System.Type" /> object must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</summary>
|
|
/// <returns>The type of the object associated with the audit rules of this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</returns>
|
|
// Token: 0x17000909 RID: 2313
|
|
// (get) Token: 0x06002DCF RID: 11727
|
|
public abstract Type AuditRuleType { get; }
|
|
|
|
/// <summary>Gets a Boolean value that specifies whether the access rules associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object are in canonical order.</summary>
|
|
/// <returns>true if the access rules are in canonical order; otherwise, false.</returns>
|
|
// Token: 0x1700090A RID: 2314
|
|
// (get) Token: 0x06002DD0 RID: 11728 RVA: 0x00093F78 File Offset: 0x00092178
|
|
[MonoTODO]
|
|
public bool AreAccessRulesCanonical
|
|
{
|
|
get
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object is protected.</summary>
|
|
/// <returns>true if the DACL is protected; otherwise, false.</returns>
|
|
// Token: 0x1700090B RID: 2315
|
|
// (get) Token: 0x06002DD1 RID: 11729 RVA: 0x00093F80 File Offset: 0x00092180
|
|
[MonoTODO]
|
|
public bool AreAccessRulesProtected
|
|
{
|
|
get
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a Boolean value that specifies whether the audit rules associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object are in canonical order.</summary>
|
|
/// <returns>true if the audit rules are in canonical order; otherwise, false.</returns>
|
|
// Token: 0x1700090C RID: 2316
|
|
// (get) Token: 0x06002DD2 RID: 11730 RVA: 0x00093F88 File Offset: 0x00092188
|
|
[MonoTODO]
|
|
public bool AreAuditRulesCanonical
|
|
{
|
|
get
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object is protected.</summary>
|
|
/// <returns>true if the SACL is protected; otherwise, false.</returns>
|
|
// Token: 0x1700090D RID: 2317
|
|
// (get) Token: 0x06002DD3 RID: 11731 RVA: 0x00093F90 File Offset: 0x00092190
|
|
[MonoTODO]
|
|
public bool AreAuditRulesProtected
|
|
{
|
|
get
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a Boolean value that specifies whether the access rules associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object have been modified.</summary>
|
|
/// <returns>true if the access rules associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object have been modified; otherwise, false.</returns>
|
|
// Token: 0x1700090E RID: 2318
|
|
// (get) Token: 0x06002DD4 RID: 11732 RVA: 0x00093F98 File Offset: 0x00092198
|
|
// (set) Token: 0x06002DD5 RID: 11733 RVA: 0x00093FA0 File Offset: 0x000921A0
|
|
protected bool AccessRulesModified
|
|
{
|
|
get
|
|
{
|
|
return this.access_rules_modified;
|
|
}
|
|
set
|
|
{
|
|
this.access_rules_modified = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a Boolean value that specifies whether the audit rules associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object have been modified.</summary>
|
|
/// <returns>true if the audit rules associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object have been modified; otherwise, false.</returns>
|
|
// Token: 0x1700090F RID: 2319
|
|
// (get) Token: 0x06002DD6 RID: 11734 RVA: 0x00093FAC File Offset: 0x000921AC
|
|
// (set) Token: 0x06002DD7 RID: 11735 RVA: 0x00093FB4 File Offset: 0x000921B4
|
|
protected bool AuditRulesModified
|
|
{
|
|
get
|
|
{
|
|
return this.audit_rules_modified;
|
|
}
|
|
set
|
|
{
|
|
this.audit_rules_modified = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a Boolean value that specifies whether the group associated with the securable object has been modified. </summary>
|
|
/// <returns>true if the group associated with the securable object has been modified; otherwise, false.</returns>
|
|
// Token: 0x17000910 RID: 2320
|
|
// (get) Token: 0x06002DD8 RID: 11736 RVA: 0x00093FC0 File Offset: 0x000921C0
|
|
// (set) Token: 0x06002DD9 RID: 11737 RVA: 0x00093FC8 File Offset: 0x000921C8
|
|
protected bool GroupModified
|
|
{
|
|
get
|
|
{
|
|
return this.group_modified;
|
|
}
|
|
set
|
|
{
|
|
this.group_modified = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a Boolean value that specifies whether this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object is a container object.</summary>
|
|
/// <returns>true if the <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object is a container object; otherwise, false.</returns>
|
|
// Token: 0x17000911 RID: 2321
|
|
// (get) Token: 0x06002DDA RID: 11738 RVA: 0x00093FD4 File Offset: 0x000921D4
|
|
protected bool IsContainer
|
|
{
|
|
get
|
|
{
|
|
return this.is_container;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a Boolean value that specifies whether this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object is a directory object.</summary>
|
|
/// <returns>true if the <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object is a directory object; otherwise, false.</returns>
|
|
// Token: 0x17000912 RID: 2322
|
|
// (get) Token: 0x06002DDB RID: 11739 RVA: 0x00093FDC File Offset: 0x000921DC
|
|
protected bool IsDS
|
|
{
|
|
get
|
|
{
|
|
return this.is_ds;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a Boolean value that specifies whether the owner of the securable object has been modified.</summary>
|
|
/// <returns>true if the owner of the securable object has been modified; otherwise, false.</returns>
|
|
// Token: 0x17000913 RID: 2323
|
|
// (get) Token: 0x06002DDC RID: 11740 RVA: 0x00093FE4 File Offset: 0x000921E4
|
|
// (set) Token: 0x06002DDD RID: 11741 RVA: 0x00093FEC File Offset: 0x000921EC
|
|
protected bool OwnerModified
|
|
{
|
|
get
|
|
{
|
|
return this.owner_modified;
|
|
}
|
|
set
|
|
{
|
|
this.owner_modified = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.AccessRule" /> class with the specified values.</summary>
|
|
/// <returns>The <see cref="T:System.Security.AccessControl.AccessRule" /> object that this method creates.</returns>
|
|
/// <param name="identityReference">The identity to which the access rule applies. It must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param>
|
|
/// <param name="accessMask">The access mask of this rule. The access mask is a 32-bit collection of anonymous bits, the meaning of which is defined by the individual integrators.</param>
|
|
/// <param name="isInherited">true if this rule is inherited from a parent container.</param>
|
|
/// <param name="inheritanceFlags">Specifies the inheritance properties of the access rule.</param>
|
|
/// <param name="propagationFlags">Specifies whether inherited access rules are automatically propagated. The propagation flags are ignored if <paramref name="inheritanceFlags" /> is set to <see cref="F:System.Security.AccessControl.InheritanceFlags.None" />.</param>
|
|
/// <param name="type">Specifies the valid access control type.</param>
|
|
// Token: 0x06002DDE RID: 11742
|
|
public abstract AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type);
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.AuditRule" /> class with the specified values.</summary>
|
|
/// <returns>The <see cref="T:System.Security.AccessControl.AuditRule" /> object that this method creates.</returns>
|
|
/// <param name="identityReference">The identity to which the audit rule applies. It must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param>
|
|
/// <param name="accessMask">The access mask of this rule. The access mask is a 32-bit collection of anonymous bits, the meaning of which is defined by the individual integrators.</param>
|
|
/// <param name="isInherited">true if this rule is inherited from a parent container.</param>
|
|
/// <param name="inheritanceFlags">Specifies the inheritance properties of the audit rule.</param>
|
|
/// <param name="propagationFlags">Specifies whether inherited audit rules are automatically propagated. The propagation flags are ignored if <paramref name="inheritanceFlags" /> is set to <see cref="F:System.Security.AccessControl.InheritanceFlags.None" />.</param>
|
|
/// <param name="flags">Specifies the conditions for which the rule is audited.</param>
|
|
// Token: 0x06002DDF RID: 11743
|
|
public abstract AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags);
|
|
|
|
/// <summary>Gets the primary group associated with the specified owner.</summary>
|
|
/// <returns>The primary group associated with the specified owner.</returns>
|
|
/// <param name="targetType">The owner for which to get the primary group. </param>
|
|
/// <PermissionSet>
|
|
/// <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
|
|
/// </PermissionSet>
|
|
// Token: 0x06002DE0 RID: 11744 RVA: 0x00093FF8 File Offset: 0x000921F8
|
|
[MonoTODO]
|
|
public IdentityReference GetGroup(Type targetType)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Gets the owner associated with the specified primary group.</summary>
|
|
/// <returns>The owner associated with the specified group.</returns>
|
|
/// <param name="targetType">The primary group for which to get the owner.</param>
|
|
/// <PermissionSet>
|
|
/// <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
|
|
/// </PermissionSet>
|
|
// Token: 0x06002DE1 RID: 11745 RVA: 0x00094000 File Offset: 0x00092200
|
|
[MonoTODO]
|
|
public IdentityReference GetOwner(Type targetType)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Returns an array of byte values that represents the security descriptor information for this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</summary>
|
|
/// <returns>An array of byte values that represents the security descriptor for this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object. This method returns null if there is no security information in this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</returns>
|
|
// Token: 0x06002DE2 RID: 11746 RVA: 0x00094008 File Offset: 0x00092208
|
|
[MonoTODO]
|
|
public byte[] GetSecurityDescriptorBinaryForm()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</summary>
|
|
/// <returns>The SDDL representation of the specified sections of the security descriptor associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</returns>
|
|
/// <param name="includeSections">Specifies which sections (access rules, audit rules, primary group, owner) of the security descriptor to get.</param>
|
|
// Token: 0x06002DE3 RID: 11747 RVA: 0x00094010 File Offset: 0x00092210
|
|
[MonoTODO]
|
|
public string GetSecurityDescriptorSddlForm(AccessControlSections includeSections)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Returns a Boolean value that specifies whether the security descriptor associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object can be converted to the Security Descriptor Definition Language (SDDL) format.</summary>
|
|
/// <returns>true if the security descriptor associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object can be converted to the Security Descriptor Definition Language (SDDL) format; otherwise, false.</returns>
|
|
// Token: 0x06002DE4 RID: 11748 RVA: 0x00094018 File Offset: 0x00092218
|
|
[MonoTODO]
|
|
public static bool IsSddlConversionSupported()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Applies the specified modification to the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</summary>
|
|
/// <returns>true if the DACL is successfully modified; otherwise, false.</returns>
|
|
/// <param name="modification">The modification to apply to the DACL.</param>
|
|
/// <param name="rule">The access rule to modify.</param>
|
|
/// <param name="modified">true if the DACL is successfully modified; otherwise, false.</param>
|
|
// Token: 0x06002DE5 RID: 11749 RVA: 0x00094020 File Offset: 0x00092220
|
|
[MonoTODO]
|
|
public virtual bool ModifyAccessRule(AccessControlModification modification, AccessRule rule, out bool modified)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Applies the specified modification to the System Access Control List (SACL) associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</summary>
|
|
/// <returns>true if the SACL is successfully modified; otherwise, false.</returns>
|
|
/// <param name="modification">The modification to apply to the SACL.</param>
|
|
/// <param name="rule">The audit rule to modify.</param>
|
|
/// <param name="modified">true if the SACL is successfully modified; otherwise, false.</param>
|
|
// Token: 0x06002DE6 RID: 11750 RVA: 0x00094028 File Offset: 0x00092228
|
|
[MonoTODO]
|
|
public virtual bool ModifyAuditRule(AccessControlModification modification, AuditRule rule, out bool modified)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Removes all access rules associated with the specified <see cref="T:System.Security.Principal.IdentityReference" />.</summary>
|
|
/// <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> for which to remove all access rules.</param>
|
|
/// <exception cref="T:System.InvalidOperationException">All access rules are not in canonical order.</exception>
|
|
// Token: 0x06002DE7 RID: 11751 RVA: 0x00094030 File Offset: 0x00092230
|
|
[MonoTODO]
|
|
public virtual void PurgeAccessRules(IdentityReference identity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Removes all audit rules associated with the specified <see cref="T:System.Security.Principal.IdentityReference" />.</summary>
|
|
/// <param name="identity">The <see cref="T:System.Security.Principal.IdentityReference" /> for which to remove all audit rules.</param>
|
|
/// <exception cref="T:System.InvalidOperationException">All audit rules are not in canonical order.</exception>
|
|
// Token: 0x06002DE8 RID: 11752 RVA: 0x00094038 File Offset: 0x00092238
|
|
[MonoTODO]
|
|
public virtual void PurgeAuditRules(IdentityReference identity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Sets or removes protection of the access rules associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object. Protected access rules cannot be modified by parent objects through inheritance.</summary>
|
|
/// <param name="isProtected">true to protect the access rules associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object from inheritance; false to allow inheritance.</param>
|
|
/// <param name="preserveInheritance">true to preserve inherited access rules; false to remove inherited access rules. This parameter is ignored if <paramref name="isProtected" /> is false.</param>
|
|
/// <exception cref="T:System.InvalidOperationException">This method attempts to remove inherited rules from a non-canonical Discretionary Access Control List (DACL).</exception>
|
|
// Token: 0x06002DE9 RID: 11753 RVA: 0x00094040 File Offset: 0x00092240
|
|
[MonoTODO]
|
|
public void SetAccessRuleProtection(bool isProtected, bool preserveInheritance)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Sets or removes protection of the audit rules associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object. Protected audit rules cannot be modified by parent objects through inheritance.</summary>
|
|
/// <param name="isProtected">true to protect the audit rules associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object from inheritance; false to allow inheritance.</param>
|
|
/// <param name="preserveInheritance">true to preserve inherited audit rules; false to remove inherited audit rules. This parameter is ignored if <paramref name="isProtected" /> is false.</param>
|
|
/// <exception cref="T:System.InvalidOperationException">This method attempts to remove inherited rules from a non-canonical System Access Control List (SACL).</exception>
|
|
// Token: 0x06002DEA RID: 11754 RVA: 0x00094048 File Offset: 0x00092248
|
|
[MonoTODO]
|
|
public void SetAuditRuleProtection(bool isProtected, bool preserveInheritance)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Sets the primary group for the security descriptor associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</summary>
|
|
/// <param name="identity">The primary group to set.</param>
|
|
// Token: 0x06002DEB RID: 11755 RVA: 0x00094050 File Offset: 0x00092250
|
|
[MonoTODO]
|
|
public void SetGroup(IdentityReference identity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Sets the owner for the security descriptor associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</summary>
|
|
/// <param name="identity">The owner to set.</param>
|
|
// Token: 0x06002DEC RID: 11756 RVA: 0x00094058 File Offset: 0x00092258
|
|
[MonoTODO]
|
|
public void SetOwner(IdentityReference identity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Sets the security descriptor for this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object from the specified array of byte values.</summary>
|
|
/// <param name="binaryForm">The array of bytes from which to set the security descriptor.</param>
|
|
// Token: 0x06002DED RID: 11757 RVA: 0x00094060 File Offset: 0x00092260
|
|
[MonoTODO]
|
|
public void SetSecurityDescriptorBinaryForm(byte[] binaryForm)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Sets the specified sections of the security descriptor for this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object from the specified array of byte values.</summary>
|
|
/// <param name="binaryForm">The array of bytes from which to set the security descriptor.</param>
|
|
/// <param name="includeSections">The sections (access rules, audit rules, owner, primary group) of the security descriptor to set.</param>
|
|
// Token: 0x06002DEE RID: 11758 RVA: 0x00094068 File Offset: 0x00092268
|
|
[MonoTODO]
|
|
public void SetSecurityDescriptorBinaryForm(byte[] binaryForm, AccessControlSections includeSections)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Sets the security descriptor for this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object from the specified Security Descriptor Definition Language (SDDL) string.</summary>
|
|
/// <param name="sddlForm">The SDDL string from which to set the security descriptor.</param>
|
|
// Token: 0x06002DEF RID: 11759 RVA: 0x00094070 File Offset: 0x00092270
|
|
[MonoTODO]
|
|
public void SetSecurityDescriptorSddlForm(string sddlForm)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Sets the specified sections of the security descriptor for this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object from the specified Security Descriptor Definition Language (SDDL) string.</summary>
|
|
/// <param name="sddlForm">The SDDL string from which to set the security descriptor.</param>
|
|
/// <param name="includeSections">The sections (access rules, audit rules, owner, primary group) of the security descriptor to set.</param>
|
|
// Token: 0x06002DF0 RID: 11760 RVA: 0x00094078 File Offset: 0x00092278
|
|
[MonoTODO]
|
|
public void SetSecurityDescriptorSddlForm(string sddlForm, AccessControlSections includeSections)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Applies the specified modification to the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</summary>
|
|
/// <returns>true if the DACL is successfully modified; otherwise, false.</returns>
|
|
/// <param name="modification">The modification to apply to the DACL.</param>
|
|
/// <param name="rule">The access rule to modify.</param>
|
|
/// <param name="modified">true if the DACL is successfully modified; otherwise, false.</param>
|
|
// Token: 0x06002DF1 RID: 11761
|
|
protected abstract bool ModifyAccess(AccessControlModification modification, AccessRule rule, out bool modified);
|
|
|
|
/// <summary>Applies the specified modification to the System Access Control List (SACL) associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object.</summary>
|
|
/// <returns>true if the SACL is successfully modified; otherwise, false.</returns>
|
|
/// <param name="modification">The modification to apply to the SACL.</param>
|
|
/// <param name="rule">The audit rule to modify.</param>
|
|
/// <param name="modified">true if the SACL is successfully modified; otherwise, false.</param>
|
|
// Token: 0x06002DF2 RID: 11762
|
|
protected abstract bool ModifyAudit(AccessControlModification modification, AuditRule rule, out bool modified);
|
|
|
|
/// <summary>Saves the specified sections of the security descriptor associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object to permanent storage. We recommend that the values of the <paramref name="includeSections" /> parameters passed to the constructor and persist methods be identical. For more information, see Remarks.</summary>
|
|
/// <param name="handle">The handle used to retrieve the persisted information.</param>
|
|
/// <param name="includeSections">One of the <see cref="T:System.Security.AccessControl.AccessControlSections" /> enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save.</param>
|
|
// Token: 0x06002DF3 RID: 11763 RVA: 0x00094080 File Offset: 0x00092280
|
|
[MonoTODO]
|
|
protected virtual void Persist(SafeHandle handle, AccessControlSections includeSections)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Saves the specified sections of the security descriptor associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object to permanent storage. We recommend that the values of the <paramref name="includeSections" /> parameters passed to the constructor and persist methods be identical. For more information, see Remarks.</summary>
|
|
/// <param name="name">The name used to retrieve the persisted information.</param>
|
|
/// <param name="includeSections">One of the <see cref="T:System.Security.AccessControl.AccessControlSections" /> enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save.</param>
|
|
// Token: 0x06002DF4 RID: 11764 RVA: 0x00094088 File Offset: 0x00092288
|
|
[MonoTODO]
|
|
protected virtual void Persist(string name, AccessControlSections includeSections)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Saves the specified sections of the security descriptor associated with this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object to permanent storage. We recommend that the values of the <paramref name="includeSections" /> parameters passed to the constructor and persist methods be identical. For more information, see Remarks.</summary>
|
|
/// <param name="enableOwnershipPrivilege">true to enable the privilege that allows the caller to take ownership of the object.</param>
|
|
/// <param name="name">The name used to retrieve the persisted information.</param>
|
|
/// <param name="includeSections">One of the <see cref="T:System.Security.AccessControl.AccessControlSections" /> enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save.</param>
|
|
// Token: 0x06002DF5 RID: 11765 RVA: 0x00094090 File Offset: 0x00092290
|
|
[MonoTODO]
|
|
protected virtual void Persist(bool enableOwnershipPrivilege, string name, AccessControlSections includeSections)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Locks this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object for read access.</summary>
|
|
// Token: 0x06002DF6 RID: 11766 RVA: 0x00094098 File Offset: 0x00092298
|
|
[MonoTODO]
|
|
protected void ReadLock()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Unlocks this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object for read access.</summary>
|
|
// Token: 0x06002DF7 RID: 11767 RVA: 0x000940A0 File Offset: 0x000922A0
|
|
[MonoTODO]
|
|
protected void ReadUnlock()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Locks this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object for write access.</summary>
|
|
// Token: 0x06002DF8 RID: 11768 RVA: 0x000940A8 File Offset: 0x000922A8
|
|
[MonoTODO]
|
|
protected void WriteLock()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>Unlocks this <see cref="T:System.Security.AccessControl.ObjectSecurity" /> object for write access.</summary>
|
|
// Token: 0x06002DF9 RID: 11769 RVA: 0x000940B0 File Offset: 0x000922B0
|
|
[MonoTODO]
|
|
protected void WriteUnlock()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
// Token: 0x0400121A RID: 4634
|
|
private bool is_container;
|
|
|
|
// Token: 0x0400121B RID: 4635
|
|
private bool is_ds;
|
|
|
|
// Token: 0x0400121C RID: 4636
|
|
private bool access_rules_modified;
|
|
|
|
// Token: 0x0400121D RID: 4637
|
|
private bool audit_rules_modified;
|
|
|
|
// Token: 0x0400121E RID: 4638
|
|
private bool group_modified;
|
|
|
|
// Token: 0x0400121F RID: 4639
|
|
private bool owner_modified;
|
|
}
|
|
}
|