-
Notifications
You must be signed in to change notification settings - Fork 7
Add Authorization post #10
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
Conversation
851506f to
b8c66af
Compare
b8c66af to
d36035c
Compare
d36035c to
5884e5e
Compare
5884e5e to
efda16f
Compare
efda16f to
3438740
Compare
| - `Roles` property is not supported and will trigger a build warning `COREWCF_0202`. | ||
|
|
||
| #### AllowAnonymous support | ||
| We did not bring support of the `[AllowAnonymous]` attribute as we believe that a strong interface segregation between anonymous and secured operations should be set. Moreover supporting this attribute would imply delaying the authentication step in the pipeline leading to potential DDoS vulnerabilities. Decorating an `OperationContract` implementation with `[AllowAnonymous]` will have no effect and will trigger a build warning `COREWCF_0200`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DDoS -> DoS
DDoS generally refers to an attack which relies on flooding the bandwidth of the service (which is why you need lots of clients), or circumventing protections preventing single ip addresses from making too many requests. The nature of the potential vulnerability here doesn't need a distributed attack.
|
|
||
| ### Exclusiveness of ASP.NET Core Authorization policies and `ServiceAuthorizationManager` | ||
|
|
||
| Having `ClientCredentialType` set to `InheritedFromHost` disable the execution of an authorization logic implemented in `ServiceAuthorizationManager`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
disable -> disables
|
TODO Add a link to the sample from CoreWCF/samples#29 once merged |
b230669 to
19f5aec
Compare
When quoting class names with back ticks in section headings it renders strange as the class name is rendered in a lot smaller font.
No description provided.