|
-
Oct 10th, 2009, 07:44 PM
#1
Thread Starter
Addicted Member
Blocking Web Sites in Browser
I am creating a security program. One of its features is that it blocks inappropriate web sites. I might need help determining which sites are bad and which ones are good. If I could 'read' every work that is displayed in the browser then I could tell, but that may come later.
So, I'm looking for some kind of hook that will allow me to cancel the site if needed. It should be able to still be hooked in Safe Mode, as well... I'm sure that this is going to be an easy one!
Any Ideas? I will need help as soon as possible, because I am on a schedule.
-
Oct 10th, 2009, 08:13 PM
#2
New Member
Re: Blocking Web Sites in Browser
Think about what similar programs fo and see if that will apply.
The only thing I could think of at the moment, would be to create a list of unwanted websites and then compare each URL as it is being navigated to, to your list.
You could also do a "contains" string.
-
Oct 10th, 2009, 08:16 PM
#3
Thread Starter
Addicted Member
Re: Blocking Web Sites in Browser
Yeah. If I could get a hook first... I seem to be having trouble with finding solid code.
-
Oct 10th, 2009, 08:28 PM
#4
Re: Blocking Web Sites in Browser
Something like what you want to do has been discussed at one point here. It was determined that you would be better off relying on lower level system API's/Languages (like C++) to try this.
If you were writing the browser yourself, you could control it better, but you're not from what I've gathered.
-
Oct 10th, 2009, 08:31 PM
#5
Thread Starter
Addicted Member
Re: Blocking Web Sites in Browser
Where is that thread? Did it supply any sample code?
-
Oct 10th, 2009, 09:01 PM
#6
Re: Blocking Web Sites in Browser
I don't think any code of value was produced, because of the fact a different language was recommended. What you would actually have to do is buffer port 80 for all incoming and outgoing traffic, filter it (AKA find the addresses in the HTTP Headers) and block what you do or don't want going through.
Like I said, something along C++ would be better suited for your needs, because you'd either have to configure the web browsers to go through your application for filtering needs or you would need to find a way to buffer the ports used by the web browsers.
-
Oct 10th, 2009, 09:16 PM
#7
Thread Starter
Addicted Member
Re: Blocking Web Sites in Browser
Does any have any idea how to buffer port 80 in any programming language?
-
Oct 10th, 2009, 11:04 PM
#8
Re: Blocking Web Sites in Browser
I think the term 'buffer' was inappropriately used by me...but as for doing that, I don't think VB.net has the power to do that on it's own. Maybe Googling around can help you solve this problem, but I don't think anyone here has had any experience, or that much at all.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|