是否可以将 Windows 集成安全性与 Silverlight RIA 服务结合使用
如果我将旧的客户端/服务器移植到 Silverlight RIA 服务,如何避免额外的安全工作?
理想情况下,客户端会将客户端的 Windows 凭据传递给中间层;中间层将模拟客户端并访问数据库。
这可能吗?
If I port an old client/server to Silverlight RIA services, how can I avoid the extra security work?
Ideally, the client would pass the client's windows credentials to the middle tier; the middle tier would impersonate the client and access the database.
Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知,可以在 Web.config 中设置身份验证模式,
应该可以解决问题
As far as memory serves it is possible to set authentication mode in Web.config,
Should do the trick
Silverlight 可以很好地与 ISS 身份验证配合使用。只要您可以在 IIS 中使用旧的身份验证,您就应该能够插入其中。
他们有一些关于其工作原理的很好的文档,希望这对您有所帮助。
http://msdn.microsoft.com/en -us/library/ee707361%28v=VS.91%29.aspx
如果您之前没有使用基于 IIS 的身份验证,您可以编写一个插入的自定义身份验证提供程序。
Silverlight will work with the ISS authentication quite well. So long as you can get your old authentication working in IIS you should be able to plug into it.
They have some good documentation on how it works, hopefully this is helpful.
http://msdn.microsoft.com/en-us/library/ee707361%28v=VS.91%29.aspx
If you did not previously use an IIS based authentication you can write a custom authentication provider that will plug in.