Skip to content

Commit 7c53d7d

Browse files
committed
minor corrections
1 parent ba7da31 commit 7c53d7d

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

aspnetcore/release-notes/aspnetcore-10.0.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ For more information, see [ASP.NET Core Authorization and Authentication metrics
8989

9090
This section describes miscellaneous new features in .NET 10.
9191

92+
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/httpsys.md)]
93+
9294
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/testAppsTopLevel.md)]
9395

9496
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/jsonPatch.md)]
@@ -113,9 +115,6 @@ if (RedirectHttpResult.IsLocalUrl(url))
113115

114116
Thank you [@martincostello](https://github.com/martincostello) for this contribution!
115117

116-
<!-- This include file is H2 -->
117-
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/httpsys.md)]
118-
119118
## Related content
120119

121120
<xref:servers/httpsys>

aspnetcore/release-notes/aspnetcore-10/includes/httpsys.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
## Customizable security descriptors for HTTP.sys
1+
### Customizable security descriptors for HTTP.sys
22
<!--PR: https://github.com/dotnet/aspnetcore/pull/61325-->
3-
<!-- This section was deliberately made H2 -->
3+
44
You can now specify a custom security descriptor for HTTP.sys request queues. The new `[RequestQueueSecurityDescriptor](https://source.dot.net/#Microsoft.AspNetCore.Server.HttpSys/HttpSysOptions.cs,a556950881fd2d87) property on <xref:Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions> enables more granular control over access rights for the request queue. This granular control lets you tailor security to your application's needs.
55

6-
### Why customizability matters
6+
#### Why customizability matters
77

88
HTTP.sys relies on a security descriptor for access control. This descriptor determines which users or groups are allowed to access specific HTTP URLs.
99

1010
By customizing the security descriptor, you can allow or deny specific users or groups access to the request queue. This is useful in scenarios where you want to restrict or delegate HTTP.sys request handling at the operating system level.
1111

12-
### How to Customize a descriptor
12+
#### How to Customize a descriptor
1313

14-
The `RequestQueueSecurityDescriptor`property applies only when creating a new request queue. This property doesn't affect existing request queues.
14+
The `RequestQueueSecurityDescriptor` property applies only when creating a new request queue. This property doesn't affect existing request queues.
1515

16-
Set the `RequestQueueSecurityDescriptor` property to a `GenericSecurityDescriptor` instance when configuring your HTTP.sys server. For example, to allow all authenticated users but deny guests:
16+
Set the `RequestQueueSecurityDescriptor` property to a <xref:System.Security.AccessControl.GenericSecurityDescriptor> instance when configuring your HTTP.sys server. For example, to allow all authenticated users but deny guests:
1717

1818
```csharp
1919
using System.Security.AccessControl;
@@ -51,6 +51,4 @@ builder.WebHost.UseHttpSys(options =>
5151
});
5252
```
5353

54-
### Related content
55-
56-
<xref:fundamentals/servers/httpsys>
54+
For more information see <xref:fundamentals/servers/httpsys>.

0 commit comments

Comments
 (0)