Re: Embedding Simple MFC GUI app into website



Generally, ActiveX used on Web sites should be referred to by its proper name,
"ActiveVirus". When used on Web sites, I consider this a fundamentally evil technology. I
have three layers of firewall that strip out all ActiveVirus and JavaVirus from Web sites.
Generally, you should assume you have no right to execute anything in any way on the end
user's machine. The unfortunate presumption that this should EVER make sense is the
source of nearly all invasive malware.

Do everything server-side. That's safe. Note that possession of a certificate is only
barely acceptable (who verifies that the certificate was issued to a valid address and
not, say, to a company located on a vacant lot in the Cayman Islands?).

The first thing you should assume when the idea crosses your mind to use ActiveVirus is "I
am making a fundamental error here" and proceed with that assumption as the basis of all
decisions.

Note that there is a SUBSTANTIAL difference between an ActiveVirus control and a
full-blown application.
joe

On Fri, 29 Sep 2006 12:18:40 -0400, "Pete Delgado" <Peter.Delgado@xxxxxxxxx> wrote:


<jeremyje@xxxxxxxxx> wrote in message
news:1159543967.671054.223550@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I need to embed a simple MFC GUI application into a website. It seems
that ActiveX is the way to do this. Does anyone have any ideas on how
to get this rolling?


First of all, you should really determine whether this is an actual *need*
or if it is someone misunderstanding the problem. What exactly would MFC
give you that you cannot gain using CSS, Java or some other web technology?
Secondly, ActiveX controls are typically used only for those portions of the
web GUI that cannot be achived by other means. Since it is a fairly
heavyweight technology, you will want to use it sparingly. Finally, unless
your control is signed using a valid certificate from a well-known
authority, nobody in their right mind will install it as your control could
do any number of bad things to a system.

If you really must use ActiveX for your project, there are various turorials
available. I suggest that you simply describe what you are trying to
achieve first. Perhaps you do not need ActiveX after all.

-Pete

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages