What is the Best way for Authentication/Authorization in Silverlight?

社会主义新天地 提交于 2019-12-14 02:26:39

问题


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.

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.

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?


回答1:


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



来源:https://stackoverflow.com/questions/10698551/what-is-the-best-way-for-authentication-authorization-in-silverlight

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!