all groups > dotnet security > august 2004 >
You're in the

dotnet security

group:

UserControl in IE Security higher then Java?



UserControl in IE Security higher then Java? anders.waglund NO[at]SPAM qstream.se
8/18/2004 1:08:07 AM
dotnet security: Hi all!

With a signed Java applet you can use URLConnection to connect to a
remote webserver and all user needs to do is to accept a certificate.

Is this possible with a UserControl made in .NET?

I know how to code it using the WebRequest object, but there is always
a security error. Can I sign my control so that the user only needs to
accept my certificate and then I can access a webserver?

Thank you
RE: UserControl in IE Security higher then Java? shawnfa NO[at]SPAM online.microsoft.com (
8/20/2004 11:01:38 PM
Hi Anders,

With the default security policy, you only have permssion to access the same website that your control is hosted on. You will have to get
the users to mofiy their policy in order to allow access to other websites.

-Shawn
http://blogs.msdn.com/shawnfa

--

This posting is provided "AS IS" with no warranties, and confers no rights.
Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they
originated.
--------------------
[quoted text, click to view]

Re: UserControl in IE Security higher then Java? anders.waglund NO[at]SPAM qstream.se
8/23/2004 12:49:20 AM
Thank you Shawn for this answer.

I got it to work using a webservice on the same website.

Anders

[quoted text, click to view]
AddThis Social Bookmark Button