是否可以将 Windows 集成安全性与 Silverlight RIA 服务结合使用

发布于 2024-11-02 03:25:10 字数 127 浏览 5 评论 0原文

如果我将旧的客户端/服务器移植到 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

最初的梦 2024-11-09 03:25:10

据我所知,可以在 Web.config 中设置身份验证模式,

<system.web>
  <authentication mode="Windows"></authentication>
</system.web>

应该可以解决问题

As far as memory serves it is possible to set authentication mode in Web.config,

<system.web>
  <authentication mode="Windows"></authentication>
</system.web>

Should do the trick

多情癖 2024-11-09 03:25:10

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文