开发者

How do I access files from the webserver in a secured folder using Silverlight

开发者 https://www.devze.com 2023-02-04 19:55 出处:网络
I have a Silverlight 4 application that needs to retrieve documents for download. These documents are on a file share accessible by开发者_运维技巧 the web server.How can I do that without exposing the

I have a Silverlight 4 application that needs to retrieve documents for download. These documents are on a file share accessible by开发者_运维技巧 the web server. How can I do that without exposing the web server to unauthorized request for these files.


William, there is WebClient class which you can use to access some web resource. Be aware of domain cross policy restriction is Silverlight.


I used an http handler, I then had the http handler access server resources. I then returned the resource from the handler.

0

精彩评论

暂无评论...
验证码 换一张
取 消