Silverlight 4 - elevated permission *inside* the browser

跟風遠走 提交于 2019-12-10 10:09:52

问题


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 permissions by attaching a signed certificate (after warning the user, of course)?

-Doug


回答1:


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




回答2:


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 :)



来源:https://stackoverflow.com/questions/2821954/silverlight-4-elevated-permission-inside-the-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!