Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify implications of disabling SignalR MaximumReceiveMessageSize #32467

Open
cyungmann opened this issue Apr 30, 2024 · 0 comments
Open

clarify implications of disabling SignalR MaximumReceiveMessageSize #32467

cyungmann opened this issue Apr 30, 2024 · 0 comments
Assignees

Comments

@cyungmann
Copy link

Description

This page says that

Increasing the value might increase the risk of Denial of service (DoS) attacks.

Under what conditions does or doesn't it increase the risk of Denial of Service (DoS) attacks? Is this risk mitigated at all by using an AuthenticationScheme on the SignalR hub requiring bearer access tokens in the HTTP headers (i.e. does this prevent unauthorized users from performing DoS attacks)? Are there other implications (security, performance, etc) of increasing the value or disabling the limit entirely?

See also my SO question about this here.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/signalr/configuration?view=aspnetcore-8.0&tabs=dotnet#configure-server-options

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/signalr/configuration.md

Document ID

66d252c3-6300-7e28-9aa0-ef2ff66e7a76

Article author

@bradygaster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants