开发者

Silverlight access Azure Table REST - clientaccesspolicy.xml?

开发者 https://www.devze.com 2023-02-22 18:42 出处:网络
Is it possible to have a开发者_如何转开发 Silverlight client app directly access the Azure Table service REST endpoints? Putting aside concerns about how to sign the requests without leaking the share

Is it possible to have a开发者_如何转开发 Silverlight client app directly access the Azure Table service REST endpoints? Putting aside concerns about how to sign the requests without leaking the shared access key, Silverlight won't access the Table endpoint because neither clientaccesspolicy.xml nor crossdomain.xml are present at the root of the Table URI.

Is there any way around this aside from proxying all of the data through my web server, or running OOB with elevated permissions?


According to Steve Marx in May 2010 this is not possible for Queue and Table storage: http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/b95bf8e8-f718-4e3d-8eae-00fbd87ce7a2#905ad47c-ed90-4418-b9e3-9a183fb18bb8


You create the clientaccesspolicy.xml and crossdomain.xml files and put them in the special $root container in Azure storage. You'll then be able to access the storage successfully.

0

精彩评论

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