Question

I am not sure if this question is appropriate here, so please be gentle.

I recently read about .NET Claim based security as I understand it, it is used to control a user's access to different functionality.

In a bottle: a user can claim access to a certain web-page, update or delete commands.

By chance I am working on a project which involves houses and people that manage them (certain people get access to certain houses).

The question is rather simple: is it appropriate to give a person the neccesarry read/write right for a certain house through the ClaimsAuthorization Manager?

Was it helpful?

Solution

Yeah, you can add your own claims to handle this, there is a nice article on the subject here: http://visualstudiomagazine.com/articles/2013/09/01/going-beyond-usernames-and-roles.aspx

What you have to worry about is how big the cookies become by caring around extra claims.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top