Click here to Skip to main content
15,126,670 members
Articles / Desktop Programming / ATL
Article
Posted 11 Mar 2002

Stats

101K views
1.9K downloads
32 bookmarked

How to develop Internet Explorer Object and a problem regarding to MS Windows system failure

Rate me:
Please Sign up or sign in to vote.
3.09/5 (8 votes)
18 Jun 2002CPOL2 min read
The article on how to use BHO dealing with Windows/Internet Explorer.

Introduction

The features

This article gives out a sample showing how to develop Browser Helper Objects/Internet Explorer Object and how to deal with IWebBrowser2.

This sample, IEGuard, has the similar functionality of Microsoft Internet Explorer's Options / Content Advisor/Approved Sites. It can real time monitor the Internet Explorer web browse activities, and only those allowed web sites can be visited and other web navigation will be stopped. A tool, IEGuardMan, is given with this sample to set up the job criteria of IEGuard.

IEGuard can easily be updated to the software for MS Internet Explorer Web activities, monitoring and tracking.

The Problem on making Windows/Internet Explorer failure.

In IEGuard, a lockout test is given to test the way to disable Windows Explorer/Internet Explorer. When lockout test is processing, all activities related to Windows Explorer and MS Internet Explorer are locked out and Windows system is functionally failed partially.

In the worst case that Lockout flag is enabled, IEGuardMan is closed and you can run the batch file restoreOS.bat or command file restoreOS.cmd, which are given within the sample code, in MS-DOS Prompt/Command Prompt to un-register the IEGuard component from system and restore Windows functionality.

Microsoft ties Windows Explorer and Internet Explorer together with IWebBrowser2, it also give a way for the potential virus to attack to Windows system by canceling all IWebBrowser2 instances when those IWebBrowser2 objects are instantiated like the Lockout test in IEguard did. It is a bad derivative of IWebBrowser2.

Reference and technical detail about BHO.

For more information about BHO, you can get it from Dino Esposito's article "Browser Helper Objects: The Browser the Way You Want It" in MSDN.

The primary purpose about this article.

IWebBrowser2 has been a key technology in MS Windows system, so

  1. I hope Microsoft can pay attention on the problem of the hole of IWebBrowser2 pointed out in this article.
  2. Or otherwise, somebody can develop a MS Windows “Predator” program (or you can say it as "Virus") to squash the Windows system by borrowing the idea in this article. That would be the best prize for this article.

License

This article has no explicit license attached to it, but may contain usage terms in the article text or the download files themselves. If in doubt, please contact the author via the discussion board below.

A list of licenses authors might use can be found here.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

No Biography provided

Comments and Discussions

 
GeneralSecurity Alert: MonitoringTool:Win32/Csysserv Pin
Andrew Muliar11-Aug-10 23:51
MemberAndrew Muliar11-Aug-10 23:51 
GeneralRe: Security Alert: MonitoringTool:Win32/Csysserv Pin
firehawk31-Aug-14 10:20
Memberfirehawk31-Aug-14 10:20 
QuestionBHO Hooks Never Called ? Pin
joelparker6-Nov-08 15:55
Memberjoelparker6-Nov-08 15:55 
Generalwhere to find the original code Pin
rajeev_geom12-Mar-06 21:55
Memberrajeev_geom12-Mar-06 21:55 
GeneralMore coments will be apreciated Pin
cata_10002-Feb-04 5:08
Membercata_10002-Feb-04 5:08 
GeneralHelp me! it troubled me too long........ Pin
Member 5969369-Jan-04 7:28
MemberMember 5969369-Jan-04 7:28 
Generalfilter based on context Pin
yofnik28-May-03 4:41
Memberyofnik28-May-03 4:41 
Generaldll compiled using the source cannot reguster in win9x system Pin
seewan12-Feb-03 16:55
Memberseewan12-Feb-03 16:55 
GeneralRe: dll compiled using the source cannot reguster in win9x system Pin
Andy Patterson21-Nov-03 2:25
MemberAndy Patterson21-Nov-03 2:25 
Questionhow get list of users login on the LAN sever? Pin
Omar Lodhi7-Aug-02 20:31
MemberOmar Lodhi7-Aug-02 20:31 
GeneralFlawed Pin
22-Jun-02 10:31
suss22-Jun-02 10:31 
GeneralI have no clue.. Pin
22-Mar-02 5:12
suss22-Mar-02 5:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.