htn5ca
asked on
Silverlight Socket programming on port > 5000
I am running Silverlight 4 in C#. I want to connect to a port that is not in the "trusted" range (4502-4534). I need to have silverlight running INSIDE the browser not Out-of-browser mode. Is there some way to elevate permissions for this silverlight app to do it?
ASKER
How do I change the browser security setting or site security? It will be running on chrome, firefox and IE.
I'm not sure exactly which settings would pull this off... especially with firefox and chrome,..
BUT,...If it were me... I would try putting the site in one of the zones in IE first... , put it in the (Intranet) zone, then *play with the security settings for Intranet, and see if any of it relaxes the browser enough to make the app work.
BUT,...If it were me... I would try putting the site in one of the zones in IE first... , put it in the (Intranet) zone, then *play with the security settings for Intranet, and see if any of it relaxes the browser enough to make the app work.
ASKER
Hmmm i've been trying to connect on port 30000 and I enabled all settings in the trusted and intranet zones but with no luck. Any other ideas? Hopefully there is a way to by-pass the brower's sandbox somehow
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
According to that...
HKEY_LOCAL_MACHINE\SOFTWAR E\Microsof t\Silverli ght\
Add the following DWORD key "AllowElevatedTrustAppsInB rowser" with 0×00000001.
HKEY_LOCAL_MACHINE\SOFTWAR
Add the following DWORD key "AllowElevatedTrustAppsInB
ASKER
Ok this is good news. Atleast there is a roadmap to when we can deploy. Thank you very much.
Running out of browser is the only way I know of to elevate permissions in Silverlight unless you are changing browser security settings or site security assigment.