|
||||||
| Managed C++ Visual Studio .NET managed C++ Topics |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
How can I determine what webpage a web browser is on and then how can I block that webpage if it has certain words on it? this will be sort of a "net nanny" type program.
|
| Sponsored Links |
|
|
|
|||
|
Usually, you'd do that thru a proxy server - making all requests go thru a server which can filter as needed. Microsoft's ISA, Squid, etc. all employ that approach.
The way you worded you question makes me think you want to do this client side...that's a difficult road, I think. Much easier to control the network side, or you'd have to force a particular (possibly custom built) browser. For a home PC, you could set up a proxy server on the local machine and redirect requests thru there. |
|
|||
|
Again, you'd have to force everything thru a proxy server, control what browser is used, or hook into the network stack. If this is for a kiosk type scenario, the first 2 are reasonably accomplished. If not, you can go with the 3rd option by running something like Ethereal and logging packets destined for port 80/443.
|
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
| John | ........ | 223.00000 |
| dargueta | ........ | 168.00000 |
| Xav | ........ | 164.00000 |
| LogicKills | ........ | 20.00000 |
| sam | ........ | 20.00000 |
| gaylo565 | ........ | 18.00000 |
| |pH| | ........ | 15.00000 |
| WingedPanther | ........ | 15.00000 |
| Johnnyboy | ........ | 3.00000 |
| navghost | ........ | 1.00000 |
Goal: 100,000 Posts
Complete: 67%