Results 1 to 15 of 15

Thread: blocking game sites

  1. #1

    Thread Starter
    Lively Member Edilson's Avatar
    Join Date
    Aug 2000
    Location
    Orlando
    Posts
    81

    blocking game sites

    how do i avoid a user to visit some sites ????

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Thru VB? Don't think there is a way...
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  3. #3

    Thread Starter
    Lively Member Edilson's Avatar
    Join Date
    Aug 2000
    Location
    Orlando
    Posts
    81
    it could in any way it does not matter !!!

  4. #4
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Is this for a Web Server (for a company), or for a stand-alone PC ?
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  5. #5

    Thread Starter
    Lively Member Edilson's Avatar
    Join Date
    Aug 2000
    Location
    Orlando
    Posts
    81
    it's a stand-alone PC
    just to make shure the users won't play games during work hours.

  6. #6
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    Well you create an application that writes the sites address to the host file.

    All windows os's have it. Simply search for host or host.sam

    This will then redirect the user, when they enter the blocked url, to whatever site you specify!

    What you could do is write an app that:
    1) sits in the systray(near the clock)
    2) Have the host file redirect blocked sites to 127.0.0.1(localhost)
    3) The app using winsock acts as the localhost and displays a message like "Blocked site"

    good luck
    b

  7. #7
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Can't you add sites to block in NT,2k, XP on the local system?
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  8. #8

    Thread Starter
    Lively Member Edilson's Avatar
    Join Date
    Aug 2000
    Location
    Orlando
    Posts
    81
    how do i edit the host file , to block for example www.yahoo.com???

  9. #9
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Need to figure out a way to get to the Content Provider area of the IE browser...
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  10. #10
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    open it in notepad for example and append something like:

    127.0.0.1 www.yahoo.com

    It will only work if 127.0.0.1 is working! I.e You have a IIS or PWS or a custom app allowing connections to it!

    b

  11. #11

    Thread Starter
    Lively Member Edilson's Avatar
    Join Date
    Aug 2000
    Location
    Orlando
    Posts
    81
    there's no host file in XP professional ...

  12. #12
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    Yes there is Windows XP search function blocks system\hidden files! You can get it to show hidden files!
    Anyways:
    It's path will be c:\windows\system32\drivers\etc\

  13. #13

    Thread Starter
    Lively Member Edilson's Avatar
    Join Date
    Aug 2000
    Location
    Orlando
    Posts
    81
    it works ..... thak you guys ....

  14. #14
    Hyperactive Member
    Join Date
    Nov 2001
    Posts
    364

    still on the subject

    is there a way to do this with a user downloading a program that will block verious websites, using any web browser ??
    Richard <><

  15. #15
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    You can use the Content Advisor too!

    Internet Explorer > Tools > Internet Options > Content Advisor

    Then you give a list of what pages the user is allowed to visit.
    If they try to access another page, they're asked for a password.


    By the way, this thread has been moved to General PC.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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