> I want to build a website parental control program which block sites from 
> Internet Explorer.
>
> There are two things I need to know:
>
> 1) How to get all URL's entered in Internet Explorer
> 2) How to force that specific instance of Internet Explorer to navigate to 
> another page.
>
> Can anyone help?


There are several way to achieve your goal. The two main I see are:
1) Write a LSP (Layered Service Provider)
2) Write a proxy server

The first is not possible with Delphi (At least I think so. If anyone know 
how to write a LSP using Delphi, I would love to get the code).

The second - writing a proxy - is more or less easy with Delphi using ICS 
components. See "usermade" link at ICS website (http://www.overbyte.be). 
With this option, you have to configure IE to use the proxy: IE Menu / Tools 
/ Internet options / Connections / Network parameters / Use a proxy and then 
enter the IP address (127.0.0.1 if proxy run on the same computer) and port 
number (pick anyone you like, for example 8080). Once IE is configured to 
use a proxy, it will send all requests to the proxy. Then the proxy will 
make the real request to the target server and return data back to IE. What 
is important there is that you get all URL entered in IE or indirectly use 
(clicking on links), and you can either really rely them to the target 
server or forge and answer your self to say the page access is denied.

At ICS website, on the usermade page, you'll even find a HTTP proxy 
component. If you need help with this component and/or the entire ICS, 
please use ICS support mailing list (same server as this list). See 
"support" link at ICS website for support details.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
The author for the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to