Re: why microsoft choose mfc rather than wtl?



>> The reason for ATL is twofold: first, to make controls small enough
>> to put on a Web page. This is a bogus reason, because putting native
>> executable code on a Web page to implement a control is deeply
>> unethical.
>
>I agree with you all the way, there. Whoever came up with the idea of
>downloading executable code and runing it in a webpage ought to be shot.
>It's a very flexible and versatile technique but that counts for nothing
>if it can't be made secure.

I respect both of your opinions, even though you have inadvertently
called me 'unethical', but I would appreciate it if you could tell me
good reasons for your blanket condemnation. Maybe there is a better
way to do some things, but being relatively new to Web programming I
have not found any. So I built an Activex control and added it to my
web page. I am currently having a little problem getting it to
download properly, but that is the subject of a different thread, and
I am confident that the problem will be resolved soon.

Now this is a business application, and I think that both of you do
programming in that realm - that is why I find your view a little
strange. It seems to me that there are sufficient safeguards built
into the system to make this perfectly safe. In my case, all
communication between the client and the server is done via SSL, and
the identities of both the client and the server are confirmed by
certificates. When the Activex control needs to be updated, a new
copy is placed on the server and the web page is updated to specify
the new version number. The next time the client accesses the page,
they will automatically get the updated control. This is a TON easier
than having to distribute the new control to thousands of clients and
expect that they will all install it without problems!

So, tell me, what is so 'unethical' about the above scenario?

Thanks, Russ
.



Relevant Pages

  • Re: Server Access via DCOM
    ... other than setting the text for the object in the html page? ... global property setting in the IE control? ... needs a property indicating which server to connect to. ... able to start multiple instances of the client application and connect ...
    (microsoft.public.vc.atl)
  • Re: OWC Events in .Net
    ... Events always work on the client. ... is a client control. ... unload the contents of the spreadsheet into the ... followed by the button_click event on the server. ...
    (microsoft.public.office.developer.web.components)
  • Re: Version control in VC6?
    ... > control for different versions of my programs. ... > in the VC6 Professional package. ... both come with an MS SCC client which is plug-in ... Windows on the server side as well, but I'd stay out of that). ...
    (microsoft.public.vc.ide_general)
  • Re: Hosted .NET client control wont start in IE6/IIS6
    ... If the DLL is downloaded to the client to be executed on the client, ... I am developing a .NET client to run as a hosted control in Internet ... Windows Server 2003 machine running IIS 6 the control won't start. ...
    (microsoft.public.inetserver.iis)
  • Re: Server Access via DCOM
    ... The object is an ActiveX button control with a property that when pressed, ... server to perform the service on the target machine (in this case, ... ActiveX control gets pressed. ... able to start multiple instances of the client application and connect each ...
    (microsoft.public.vc.atl)