开发者

Silverlight 4 - elevated permission *inside* the browser

开发者 https://www.devze.com 2022-12-30 15:24 出处:网络
I know Silverlight 4 can handle elevated permissions outside the browser.Is there a way to accomplish this inside the browser?

I know Silverlight 4 can handle elevated permissions outside the browser. Is there a way to accomplish this inside the browser?

I need to make a folder/file upload manager that gives a better user experience than the standard , and I'd like to implement it in Silverlight.

I know Java has an option to gain elevated permissions, but you have to attach a signed certificate to your app. Does Silverlight 4 have a similar option - to gain elevated permi开发者_Go百科ssions by attaching a signed certificate (after warning the user, of course)?

-Doug


This is possible in Silverlight 5, but it requires the 'AllowElevatedTrustAppsInBrowser' registry key to be present. See: How to: Enable Trusted Applications to Run Inside the Browser

This makes the feature almost useless: an installer shouldn't modify the key because it's a global value for all apps, so only local intranet applications (where server policies can modify this key) can benefit.

If I'm wrong, please correct me, because it would be great to have trusted in-browser apps :)


I believe that the full-trust option is only available as an OOB application -- ref: http://timheuer.com/blog/archive/2009/11/18/whats-new-in-silverlight-4-complete-guide-new-features.aspx#elevated

0

精彩评论

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

关注公众号