简体   繁体   English

WCF中用于​​创建Web API的身份验证和授权

[英]authentication and authorisation in wcf for creating a web api

I am looking for ways to secure my wcf service. 我正在寻找确保wcf服务安全的方法。 I have read about message security and transport security.But i am not sure which one to use in my scenario. 我已经阅读了有关邮件安全性和传输安全性的信息。但是我不确定在我的方案中使用哪一个。 I want to create a public faced api and in future i want to convert this in Rest api. 我想创建一个面向公众的api,将来我想在Rest api中进行转换。 What are the general ways to create and secure an web api with wcf 使用WCF创建和保护Web API的一般方法是什么

Thanks 谢谢

Check the Application Scenarios section on the CodePlex WCF Security site , it provides great checklists for a number of different security configurations. 检查CodePlex WCF安全站点上的“ 应用程序方案”部分,它为许多不同的安全配置提供了不错的清单。 The Guidelines section may also be useful. 准则”部分也可能有用。 I found the site invaluable when looking at the various different options. 在查看各种不同的选项时,我发现该网站非常宝贵。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM