Results 1 to 8 of 8

Thread: Blocking Web Sites in Browser

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2009
    Location
    Clive, IA in America!!!!
    Posts
    204

    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.

  2. #2
    New Member
    Join Date
    Oct 2009
    Posts
    13

    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2009
    Location
    Clive, IA in America!!!!
    Posts
    204

    Re: Blocking Web Sites in Browser

    Yeah. If I could get a hook first... I seem to be having trouble with finding solid code.

  4. #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.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 2009
    Location
    Clive, IA in America!!!!
    Posts
    204

    Re: Blocking Web Sites in Browser

    Where is that thread? Did it supply any sample code?

  6. #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.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Oct 2009
    Location
    Clive, IA in America!!!!
    Posts
    204

    Re: Blocking Web Sites in Browser

    Does any have any idea how to buffer port 80 in any programming language?

  8. #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
  •  



Click Here to Expand Forum to Full Width