Results 1 to 5 of 5

Thread: restricting web access

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2008
    Posts
    143

    restricting web access

    my boss assigned me a task the software should be in vb6.0
    this is the scenario
    1) a database is running in the server
    2) in the client there should be a small exe should be running,the exe asks for the user name and password which is validated against the data in the server
    3)if validation success then he will be able to surf the internet else restrict the internet access.
    4)the users on the client system shall be allowed to use ms office and other applications except to go online.

    any guidelines will be greatly appreciated.

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: restricting web access

    An easy way that comes to mind, which most basic computer users wouldn't be able to figure out, is just have your program change proxy settings for whatever browser is installed (IE, FireFox, etc.). Changing it to something invalid will prevent internet browsing. But that could be a poor choice.

    Another, you can modify the Windows HOSTS file (Google it). This might work.

    Those are the most simple solutions that come to mind. There are more advanced options like DLL injection to block socket connections, but that would require a little C++ and I don't think it is allowed here.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2008
    Posts
    143

    Re: restricting web access

    yes sir, i choose the poor choice, i changed the proxy. but i am probing for approaches like tweaks in windows hmm.... any ideas

  4. #4
    Hyperactive Member deathfxu's Avatar
    Join Date
    Mar 2009
    Location
    USA
    Posts
    279

    Re: restricting web access

    The problem with changing proxy settings is that even if the user doesn't figure it out, it only disables web browsers. Programs that can access the internet still would be able to do so. There was a thread like this a couple weeks ago that had a reasonable solution. Lemme see if I can find it again.

  5. #5
    Hyperactive Member deathfxu's Avatar
    Join Date
    Mar 2009
    Location
    USA
    Posts
    279

    Re: restricting web access

    I couldn't find the other thread. This one showed promise for the disconnect. It doesn't say how to reconnect again, but hopefully it steers you in the right direction.

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