You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update ObjectSecurity.xml
When you call the method SetAccessRuleProtection with both parameters on true, you may create a non-canonical DACL.
I just made the most important changes. if you want to provide more details and e.g. code to "repair" the ACE order, I think this should go to a separate topic.
I have a colleague who provided sample code.
* Update xml/System.Security.AccessControl/ObjectSecurity.xml
Co-Authored-By: Carlos Sanchez Lopez <[email protected]>
* Update xml/System.Security.AccessControl/ObjectSecurity.xml
Co-authored-by: Jeremy Barton <[email protected]>
Co-authored-by: Carlos Sanchez Lopez <[email protected]>
Copy file name to clipboardExpand all lines: xml/System.Security.AccessControl/ObjectSecurity.xml
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1345,7 +1345,16 @@
1345
1345
<paramname="preserveInheritance">
1346
1346
<seelangword="true" /> to preserve inherited access rules; <seelangword="false" /> to remove inherited access rules. This parameter is ignored if <paramrefname="isProtected" /> is <seelangword="false" />.</param>
1347
1347
<summary>Sets or removes protection of the access rules associated with this <seecref="T:System.Security.AccessControl.ObjectSecurity" /> object. Protected access rules cannot be modified by parent objects through inheritance.</summary>
1348
-
<remarks>To be added.</remarks>
1348
+
<remarks>
1349
+
<formattype="text/markdown"><.
1355
+
1356
+
]]></format>
1357
+
</remarks>
1349
1358
<exceptioncref="T:System.InvalidOperationException">This method attempts to remove inherited rules from a non-canonical Discretionary Access Control List (DACL).</exception>
0 commit comments