How do I access files from the webserver in a secured folder using Silverlight
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.
精彩评论