在Asp.Net中对Web服务进行身份验证 [英] Authentication for webservices in Asp.Net

查看:84
本文介绍了在Asp.Net中对Web服务进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在VS2008中编写了一个示例Web服务.我在自己的域上发布了它,并创建了一个Web应用程序来使用该服务.我在应用程序中添加了Webreference并被消耗了.

问题:我想为我的网络服务提供安全性.要使用我的网络服务,我想进行身份验证.我看过文章,但没有得到解决方案.任何人都可以通过简单的方式提供解决方案来帮助我.

谢谢
Rajjjj

I have written a sample webservice in VS2008. I published it on my own domain and i created a web app to consume the service. I added webreference in my app and i consumed.

Question: I want to give security to my webservice. To use my webservice i want to put authentication. I have seen the articles but i didn''t get the solution. Can anyone plz help me out by giving solution in simple manner.

Thank you
Rajjjj

推荐答案

在CP上有一些文章非常清楚地描述了该过程:它可能并不是您所需要的,因此您必须适应特定的需求.如果您确实不了解如何执行此操作,请退后一步并做一些进一步的研究,直到您了解为止-一种方法是阅读文档.然后重试.

Web服务认证 [
There are articles here on CP that describe the process quite clearly: it may not be exactly what you need so you will have to adapt to suit your particular requirement. If you are at the point where you really don''t understand how to do this then take a step back and do some more research until you do understand - one way is to read the documentation. Then try again.

Web Service Authentication[^]


这篇关于在Asp.Net中对Web服务进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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