Authorization Filters
ASP.NET MVC -> Security -> Authorization Filters
Any status update on when this will be written?
Not yet - it's still on the backlog.
Hi Dan. Thanks for the update.
I hope this stays:
[ClaimsPrincipalPermission(SecurityAction.Demand, Operation = "OperationA", Resource = "DeletePage")]
or improves.
At the moment I am unable to find anything that parallels it. I have been searching all of 30 minutes though.
@blowdart
Long gone. Use imperative resource based checks. It was never part of asp.bet in the first place, it was code access security based which has been removed.
I hope this stays:
What @blowdart is referring to is something similar added to ASP.NET 5, but much improved. Check out the updated docs for more info (policy-based and resource-based authorization).
https://docs.asp.net/en/latest/security/authorization/resourcebased.html
Merging with #119
This issue is linked to here https://docs.microsoft.com/en-us/aspnet/core/security/authorization/authorization-filters
It seems like it's been closed incorrectly as #119 does have a little bit about authorization filters but it doesn't cover it properly and the dedicated page has been left as a stub.
It seems either this issue should be re-opened or the stub should be removed.
@rtpHarry I think we just need to remove the stub. Most of the authorization related content is actually covered under the Authorization section, which is linked to from the Filters doc: https://docs.microsoft.com/en-us/aspnet/core/security/authorization/introduction.
Are there specific concerns related to authorization filters that you would like to see added to the docs?
I don't know about them, I'm just learning. I just wanted to point it out but I don't have a solution :)
@rtpHarry That's cool. Let us know if you have any specific questions!