Silverlight中进行身份验证/授权的最佳方法是什么? [英] What is the Best way for Authentication/Authorization in Silverlight?

查看:75
本文介绍了Silverlight中进行身份验证/授权的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个SL应用程序,许多用户使用此系统以不同的数据和访问角色.例如,每个用户可以拥有一些设备,并且每个设备将每5分钟将其位置发送到服务器.

We have a SL application and many users who use this system with different data and access roles. For example, each user can have some devices and each device will send its locations every 5 minutes to server.

一种方法是在数据库中定义一个User表,并具有许多将实体连接到用户ID的表,但这不是一个好主意,因为这会在用户和其他实体之间创建许多表.

One approach is defining a User table in database and have many tables which connect an entity to a user Id, but this is not a good idea as that creates many tables between users and other entities.

选择用户数据或报告将是一个耗时的过程,所以我想知道在Silverlight中处理此类行为的最佳方法是什么?

It will be a time consuming process to select user data or reporting, so I wanted to know what the best way is for handling such behavior in Silverlight?

推荐答案

您可以使用AuthenticationDomainService.这是具有角色的授权用户的流行服务.您可以在此处获得更多信息: http://msdn .microsoft.com/en-us/library/ee707361(v = VS.91).aspx

You can use AuthenticationDomainService. This is a popular service for authorization users with roles. You can get more information there: http://msdn.microsoft.com/en-us/library/ee707361(v=VS.91).aspx

这篇关于Silverlight中进行身份验证/授权的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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