Conceptual overview of WCF security model?

自作多情 提交于 2019-12-19 04:09:43

问题


I'm working with WCF at the moment and attempting to implement a custom security model based around an API key and signature (similar to how Facebook/Flickr/OAuth etc. work).

There are a while bunch of classes like ServiceAuthorizationManager, SecurityToken, SecurityTokenValidator, IAuthorizationPolicy and so on, but I can't seem to find any documentation about how these work together or what the conceptual security model is for WCF.

I'm really looking for something that details how these classes fit and work together, so I can understand where to extract credentials, where to validate they are correct, where to decide what level of access to give them and so on. If there is a book I can buy about this stuff it would be even better, as all the WCF books I have found skip over all this stuff entirely.

Is there any documentation out there?


回答1:


Take a look at Juval Lowy's excellent "Programming WCF Services," 2nd Edition:

Here's the link to Amazon's page on it.

Chapter 10 is completely devoted to security.

Microsoft has released a WCF Security Guide - a free(!) eBook. You can find it here.

That's an awful lot of information to wade through. Good luck!



来源:https://stackoverflow.com/questions/450089/conceptual-overview-of-wcf-security-model

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!