SecurityPermission failed on ActiveX when accessing remote server

From: Anders W. Gj?re (anderswg_at_gmail.com)
Date: 07/22/04


Date: 22 Jul 2004 03:53:13 -0700

Hi,
I'm trying to make a web page that gathers data from different web
servers using JavaScript and ActiveX.

I have tried to make an ActiveX in c# .NET,
but I get an error message when I try to connect to the remote server
with my ActiveX control.
"Request for the permission of type
System.Security.Permissions.SecurityPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
failed."

Is it possible to add some security-features to my ActiveX, or is the
only way to grant trust on all clients?
Will an ActiveX made in VB6 have the same restrictions?
Is there any other way to retrieve data from multiple different
servers into one web page? (both GET and POST requests)

mvh
Anders W. Gjære



Relevant Pages