By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,856 Members | 2,015 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,856 IT Pros & Developers. It's quick & easy.

Security problems running winform in a browser

P: n/a
Ok, so here's a problem you probably don't see every day:

We are building an application that must run in a browser, but we need to do
some things client-side that would be rather difficult to pull off with the
usual browser-side scripting (javascript etc).

It's been decided that this one, complicated function will be implemented by
hosting a Winform in the browser. Now, this winform contains an ActiveX
control (an HTML editor).

We seem to be running into some code access security issues. Run locally
(web server and browser on same machine), with .Net security turned off,
everything works. Turn security on, or attempt to run the browser on a
separate machine, and we get problems.

The app requires IE 5 or better. If you have IE 5 or better, you are
guaranteed to have the ActiveX control that we need.
The app needs to be able to download the winform assembly.

Anyone know what I need to do to make this work?

Are there any good guides out there for using a Winform in the browser?
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I've had nothing but headaches trying to get around
browser security problems when dealing with these
types of controls. I gave up and don't ever plan
to persue it again. A complete waste of time.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net

Earn $$$ money answering .NET Framework
messageboard posts at EggHeadCafe.com.
http://www.eggheadcafe.com/forums/merit.asp

"J.Marsch" <jm*****@newsgroup.nospam> wrote in message
news:uv**************@TK2MSFTNGP10.phx.gbl...
Ok, so here's a problem you probably don't see every day:

We are building an application that must run in a browser, but we need to
do some things client-side that would be rather difficult to pull off with
the usual browser-side scripting (javascript etc).

It's been decided that this one, complicated function will be implemented
by hosting a Winform in the browser. Now, this winform contains an
ActiveX control (an HTML editor).

We seem to be running into some code access security issues. Run locally
(web server and browser on same machine), with .Net security turned off,
everything works. Turn security on, or attempt to run the browser on a
separate machine, and we get problems.

The app requires IE 5 or better. If you have IE 5 or better, you are
guaranteed to have the ActiveX control that we need.
The app needs to be able to download the winform assembly.

Anyone know what I need to do to make this work?

Are there any good guides out there for using a Winform in the browser?

Nov 17 '05 #2

P: n/a
Thanks Robbe:

Looks as though we have come to the same conclusion.
"Robbe Morris [C# MVP]" <in**@eggheadcafe.com> wrote in message
news:Oz*************@TK2MSFTNGP12.phx.gbl...
I've had nothing but headaches trying to get around
browser security problems when dealing with these
types of controls. I gave up and don't ever plan
to persue it again. A complete waste of time.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net

Earn $$$ money answering .NET Framework
messageboard posts at EggHeadCafe.com.
http://www.eggheadcafe.com/forums/merit.asp

"J.Marsch" <jm*****@newsgroup.nospam> wrote in message
news:uv**************@TK2MSFTNGP10.phx.gbl...
Ok, so here's a problem you probably don't see every day:

We are building an application that must run in a browser, but we need to
do some things client-side that would be rather difficult to pull off
with the usual browser-side scripting (javascript etc).

It's been decided that this one, complicated function will be implemented
by hosting a Winform in the browser. Now, this winform contains an
ActiveX control (an HTML editor).

We seem to be running into some code access security issues. Run locally
(web server and browser on same machine), with .Net security turned off,
everything works. Turn security on, or attempt to run the browser on a
separate machine, and we get problems.

The app requires IE 5 or better. If you have IE 5 or better, you are
guaranteed to have the ActiveX control that we need.
The app needs to be able to download the winform assembly.

Anyone know what I need to do to make this work?

Are there any good guides out there for using a Winform in the browser?


Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.