Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

-Doug

like image 764
Doug Avatar asked Nov 23 '25 00:11

Doug


2 Answers

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

like image 116
Maestro Avatar answered Nov 25 '25 19:11

Maestro


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

like image 27
Nate Avatar answered Nov 25 '25 19:11

Nate



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!