使用Webservice.asmx在Silverlight中进行表单身份验证和授权 [英] Forms Authentication and Authorization in Silverlight using Webservice.asmx

查看:123
本文介绍了使用Webservice.asmx在Silverlight中进行表单身份验证和授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我是Silverlight的新手.试图创建一个示例应用程序,我想为其使用Silverlight中的asp.net之类的安全性.我可以验证用户身份,但如何在web.config中授权和获取角色并进行分配.我不想使用内置的asp.net配置来分配角色和配置文件.

谢谢,
K.Vigneshwar.

Hi,


I am new to Silverlight. trying to create a sample application for which i want to use security like asp.net in Silverlight. i can Authenticate a user but how can i authorize and get the roles and assign in web.config. I don''t want to use inbuilt asp.net configuration to assign roles and profiles.

Thanks,
K.Vigneshwar.

推荐答案

Silverlight不像ASP.Net那样支持表单身份验证和授权.
如果要执行此操作,则仍然需要在ASP.Net中执行此操作.
Silverlight does not support forms authentication and authorization like ASP.Net does.
If you want to do this, then you will still have to do this in ASP.Net.


这篇关于使用Webservice.asmx在Silverlight中进行表单身份验证和授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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