允许其他应用程序访问我的asp.net网站,用户身份验证 [英] allow other applications to access my asp.net website, user authentication

查看:71
本文介绍了允许其他应用程序访问我的asp.net网站,用户身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,



我有一个网站,根据他们的角色支持很多类型的用户。那就是销售,客户等。我想让我的网站可以从其他应用程序访问。就像任何应用程序想要获取或发送数据到我的应用程序一样,我应该能够授予它们安全的可访问性。请告诉我如何才能完成身份验证部分。提前致谢。任何帮助将不胜感激。

Hey,

I have a website which supports many kind of users based on their roles. That is Sales,Customers etc. I want to make my website to be accessible form other applications. Like if any application want to fetch or send data to my application i should be able to grant them secure accessibility. Please let me know how should i go about it to get the authentication part done. Thanks in advance. Any help would be greatly appreciated.

推荐答案

它取决于你的最终结果。如果您正在谈论以交互方式访问您的其他应用程序的用户,那么因为您已经拥有相当容易的Web应用程序。



如果您正在谈论的只是其他应用程序需要数据,访问函数或应用程序以非交互方式存在的任何其他应用程序,然后您应该看看通过API公开应用程序的特定方法,数据或操作。这样任何其他应用程序都可以为特定功能调用您的API,它可以让您更严格地控​​制。



您有多种选择,Web API,WCF,甚至普通的旧Web服务。
It can depend on what your end result will be. If you are talking about users of another application accessing yours in an interactive fashion then since you already have a web app that is fairly easy.

If you are talking about just the other applications needing data, access to functions, or what ever else you application has in a non-interactive way then you should look at exposing the specific methods, data, or actions of your application via API. This way any other app will be able to call your API for specific functions and it gives you tighter control.

You have several options, Web API, WCF, or even plain old Web Services.


这里需要实现signle signon概念
Need implement signle signon concept here


这篇关于允许其他应用程序访问我的asp.net网站,用户身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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