Guys,
I posted this here because I want to monitor HTTP Responses and URL's and I
thought the Webclasses might have been the correct area
Ok so I dont really want to Hijack IE6 but what I would like to do is a
little similar to that...
I want to write a Service in VB.NET for a organisation I belong to...
Basically the service would be installed voluntarily and would help users to
curb their viewing of "objectionable" material on the web... I know this
doesnt make sence for some however the organisation I belong to is keen make
a tool available to its male members should they think it will help them.
So thats the reason out of the way now the question.
The Plan: Write a Service that Monitors HTTP Requests from the browser (Any
browser would be nice) and creates a log of "Objectionable" URL's Visited,
which will be compiled and sent to the users choice of email address
(Usually a Mentor or Friend), on a periodic basis. (Again the frequency of
emails is configurable by the user.
QUESTIONS:
1)How do I monitor browser URL's Requested... Preferably without using
FilesystemWatcher?
2)How do I listen in on HTTP Responses deliver to that browser, so I can
search keywords?
3)I would like to be able to email without using the users email client or
email service? is this possible do I have to create my own SMTP Service? if
so any ideas where to start?
I know these features sound awfully VIRUS like.. but I assure you it is to
create a tool that will be installed with full knowledge of the user,
moreover it will be controlled by the user. 6 1419
Hi Jeff,
I'll just briefly address the non-technical aspects.
|| Basically the service would be installed voluntarily and would
|| help users to curb their viewing of "objectionable" material on
|| the web... I know this doesnt make sence for some however
It sounds like voluntary rehabilitation or possibly learning-disabled
clients to me. Both of these make perfect sense.
|| I know these features sound awfully VIRUS like.. but I assure
|| you it is to create a tool that will be installed with full knowledge
|| of the user, moreover it will be controlled by the user.
Your application is doing the same sort of thing as a 'popup-stopper' or a
firewall - monitoring the flow and taking some action. There's nothing
virus-like about that though you could be accused of writing spyware. But then
any Internet-enabled application can be accused of that.
----------------------------------------
FileSystem Watcher will <only> monitor the file system so wouldn't be of
any use to you anyway - unless you wanted to monitor the Temporary Internet
Files cache.
The Web classes in .NET are about making your own calls to the Internet
and wouldn't hook into IE or other browsers.
The Web.Mail classes in .NET won't require your client's email
application. You can set the SmtpServer property of the SmtpMail class.
I'm pretty sure that you'll have to get WinApi happy with this one. There
are others here who can tell you more about that, and there's another
newsgroup - microsoft.public.vb.winapi - where there's additional expertise.
Regards,
Fergus
Thanks Fergus,
If anyone can offer some further direction that would be much appreciated?
Especially in the area of monitoring incoming HTTP Responses...
Thanks Guys/Gals
Jeff
"Fergus Cooney" <fi****@post.com> wrote in message
news:Of****************@TK2MSFTNGP10.phx.gbl... Hi Jeff,
I'll just briefly address the non-technical aspects.
|| Basically the service would be installed voluntarily and would || help users to curb their viewing of "objectionable" material on || the web... I know this doesnt make sence for some however
It sounds like voluntary rehabilitation or possibly learning-disabled clients to me. Both of these make perfect sense.
|| I know these features sound awfully VIRUS like.. but I assure || you it is to create a tool that will be installed with full
knowledge || of the user, moreover it will be controlled by the user.
Your application is doing the same sort of thing as a 'popup-stopper'
or a firewall - monitoring the flow and taking some action. There's nothing virus-like about that though you could be accused of writing spyware. But
then any Internet-enabled application can be accused of that. ----------------------------------------
FileSystem Watcher will <only> monitor the file system so wouldn't be
of any use to you anyway - unless you wanted to monitor the Temporary
Internet Files cache.
The Web classes in .NET are about making your own calls to the
Internet and wouldn't hook into IE or other browsers.
The Web.Mail classes in .NET won't require your client's email application. You can set the SmtpServer property of the SmtpMail class.
I'm pretty sure that you'll have to get WinApi happy with this one.
There are others here who can tell you more about that, and there's another newsgroup - microsoft.public.vb.winapi - where there's additional
expertise. Regards, Fergus
Hi Jeff,
I think as Fergus already stated the most simple methode would be a watcher
on the the temp internet cache.
All other methodes will bring you deep in the operatingsystem and I think
VB.net and either C# are not made for that.
You would have to use plain C or maybe C++ for that I think.
But be awared, one Url sended gives mostly ten ore more answers back.
When you use something as a Microsoft Proxy or a Firewall it can be easier,
often they have log files, that you can use.
Just a thought
Cor
Hi Jeff,
I'm pretty sure that this is rare expertise. As I mentioned, you might
get some joy in the microsoft.public.vb.winapi newsgroup. There's also a
whole rack of InternetExplorer newsgroups - search for inetex in the
newsgroups list. Post messages in a selection asking them which is the best
group for your actual question.
Another ploy, and this will require effort but could produce gold -
obtain as many popup-stoppers and firewall type programs as you can (or
their web sites) - anything that may hook into the http request/response
channels - and email the developers with your query. Once explained, it's
obvious that you have a worthy application that's not going to be a
commercial threat to anyone, so you might get someone willing to give you a
bit of their time and expertise.
I've been searching for a while - I vaguely recall a similar question
somewhere once (?!!) and the response was that they'd have to set their
program up as the proxy for that system. All requests would go to the proxy
(your app) and then get passed on out. And similar on the way back in. I
don't think it's as bleak as Cor suggests - I think VB.NET and/or C# <may>
be able to handle it. But for both of us, our desire to help exceeds our
knowledge.
I wish I could help more but any search that I've done using these words
has produced a ton and a half or rubbish to dig through. It might even have
been in a forum that I visited once. I may get a flash of inspired recall,
but...
Good luck.
Regards,
Fergus
not so uncommon...go to psc (planet-sourcecode.com) and you'll find a dozen
applications that do this...just takes a second to convert the vb6 source to
vb.net.
steve
"Fergus Cooney" <fi****@post.com> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl...
| Hi Jeff,
|
| I'm pretty sure that this is rare expertise. As I mentioned, you might
| get some joy in the microsoft.public.vb.winapi newsgroup. There's also a
| whole rack of InternetExplorer newsgroups - search for inetex in the
| newsgroups list. Post messages in a selection asking them which is the
best
| group for your actual question.
|
| Another ploy, and this will require effort but could produce gold -
| obtain as many popup-stoppers and firewall type programs as you can (or
| their web sites) - anything that may hook into the http request/response
| channels - and email the developers with your query. Once explained, it's
| obvious that you have a worthy application that's not going to be a
| commercial threat to anyone, so you might get someone willing to give you
a
| bit of their time and expertise.
|
| I've been searching for a while - I vaguely recall a similar question
| somewhere once (?!!) and the response was that they'd have to set their
| program up as the proxy for that system. All requests would go to the
proxy
| (your app) and then get passed on out. And similar on the way back in. I
| don't think it's as bleak as Cor suggests - I think VB.NET and/or C# <may>
| be able to handle it. But for both of us, our desire to help exceeds our
| knowledge.
|
| I wish I could help more but any search that I've done using these
words
| has produced a ton and a half or rubbish to dig through. It might even
have
| been in a forum that I visited once. I may get a flash of inspired recall,
| but...
|
| Good luck.
|
| Regards,
| Fergus
|
|
Hi Steve,
You went away for a while. Good to see you back. ;-)
Regards,
Fergus
ps. A great way to get a response is to say it can't be done. Works
every time! Now.. off to psc for a look-see. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sims |
last post by:
Hi.
Is it possible to 'subclass' php the same way you can subclass c++
a simple example would be...
// CODE
<?
|
by: Chris Gray |
last post by:
Is there such a beast? In particular, I'm looking for a
production-quality proxy server fully compliant with HTTP/1.1 written in
Python.
If there isn't, is there anything that comes close?
...
|
by: Steven Livingstone |
last post by:
Hello all.
I have a class that modifies the response sent to a user, but it works as
far as the ReleaseRequestState event and not in the UpdateRequestCache
event. So two questions :
1....
|
by: LP |
last post by:
Hi,
After html of .aspx page has been generated, but before it has been sent to
a client, I want to interecept it, and slightly modify it. I can't find
anyway to get html of a page. How can I do...
|
by: D. Patrick |
last post by:
I need to duplicate the functionality of a java applet, and how it connects
to a remote server. But, I don't have the protocol information or the java
source code which was written years ago. ...
|
by: endlesschuck |
last post by:
Hello,
I have a repeater which simply has the following:
<input type="checkbox" id='chkRptItem_<%#
DataBinder.Eval(Container.DataItem, "ID") %>' name="chkRptItems"
value='<%#...
|
by: ravit |
last post by:
Hello everybody,
Recently I got to do some initialization work just before first executable statement of every user C application.
For that,
Can we hijack the main function...
|
by: matt |
last post by:
This is a strange one but I've been stuck on it for days. Any help
appreciated.
THE PLAN:
I've a database that I use a script to grab all the entries for a
particular field.
I then want to...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |