如何使用访问密钥验证WCF服务 [英] How to authenticate a WCF Service using access key

查看:71
本文介绍了如何使用访问密钥验证WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个在我的机器上运行的WCF服务,并将其称为另一个Web项目。我成功完成了。现在我想通过一些访问密钥为我的服务提供安全访问,以便每当有人调用它时进入他们的项目,他们必须提供访问它的访问密钥。

请帮助我..我不知道怎么做

解决方案

嗯,这对你来说是一个好的开始:

认证WCF服务中的授权和授权 - 第1部分 [ ^ ]

i have created a WCF Service that is running on my machine and i called it into an another web project.I did it successfully.Now i want to provide security access to my service with some access key so that whenever someone call it into their project,they have to provide the access key to access it.
Please help me..i don't no how to do this

解决方案

Well, this could be a good start for you:
Authentication and Authorization in WCF Services - Part 1[^]


这篇关于如何使用访问密钥验证WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆