• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 785
  • Last Modified:

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?
0
htn5ca
Asked:
htn5ca
  • 4
  • 3
1 Solution
 
Ron MalmsteadInformation Services ManagerCommented:
I've ran into this issue myself.

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.

0
 
htn5caAuthor Commented:
How do I change the browser security setting or site security?  It will be running on chrome, firefox and IE.
0
 
Ron MalmsteadInformation Services ManagerCommented:
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.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
htn5caAuthor Commented:
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
0
 
Ron MalmsteadInformation Services ManagerCommented:
0
 
Ron MalmsteadInformation Services ManagerCommented:
According to that...

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Silverlight\

Add the following DWORD key "AllowElevatedTrustAppsInBrowser" with 0×00000001.


0
 
htn5caAuthor Commented:
Ok this is good news.  Atleast there is a roadmap to when we can deploy.  Thank you very much.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now