简体   繁体   English

ado.net数据服务Silverlight安全性

[英]ado.net data services silverlight security

I have a application where the validation is done in the web server side (in the page). 我有一个在Web服务器端(在页面中)完成验证的应用程序。 and the control is passed to the sl client. 并将控件传递给sl客户端。 The SL client makes call to the ado.net data services for its query and wcf service for writing to the DB. SL客户端调用ado.net数据服务以进行查询,并调用wcf服务以写入数据库。 How should I handle the security of the ado.net data services? 我应该如何处理ado.net数据服务的安全性? I use http://programmerpayback.com/2008/12/29/ria-security-102-using-aspnet-session-state-to-authenticate-web-service-calls/ 我使用http://programmerpayback.com/2008/12/29/ria-security-102-using-aspnet-session-state-to-authenticate-web-service-calls/

to handle the wcf security. 处理wcf安全性。

Can I set a session on the ado.net side when the first request is made and on further requests validate against this session (given that cookies are maintained across). 当发出第一个请求时,是否可以在ado.net端设置会话,并且在进一步的请求下,可以对此会话进行验证(假设已保留Cookie)。

I wrote about how to use ASP.Net Forms Authentication with the Data Services Silverlight client library here . 我在这里写了关于如何将ASP.Net表单身份验证与Data Services Silverlight客户端库一起使用的信息 This blog post describes how to setup the server and client components so that calls to the data service are authenticated via Forms Authentication. 这篇博客文章介绍了如何设置服务器和客户端组件,以便通过Forms Authentication验证对数据服务的调用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM