Click to See Complete Forum and Search --> : blocking game sites
Edilson
Oct 1st, 2002, 07:21 PM
how do i avoid a user to visit some sites ????
James Stanich
Oct 1st, 2002, 07:23 PM
Thru VB? Don't think there is a way...:(
Edilson
Oct 1st, 2002, 07:36 PM
it could in any way it does not matter !!!
James Stanich
Oct 1st, 2002, 07:37 PM
Is this for a Web Server (for a company), or for a stand-alone PC ?
Edilson
Oct 1st, 2002, 08:41 PM
it's a stand-alone PC
just to make shure the users won't play games during work hours.
Beacon
Oct 1st, 2002, 08:42 PM
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 :)
James Stanich
Oct 1st, 2002, 08:43 PM
Can't you add sites to block in NT,2k, XP on the local system?
Edilson
Oct 1st, 2002, 08:48 PM
how do i edit the host file , to block for example www.yahoo.com???
James Stanich
Oct 1st, 2002, 08:50 PM
Need to figure out a way to get to the Content Provider area of the IE browser...
Beacon
Oct 1st, 2002, 08:57 PM
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 :)
Edilson
Oct 1st, 2002, 09:01 PM
there's no host file in XP professional ...
Beacon
Oct 1st, 2002, 09:03 PM
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\
Edilson
Oct 1st, 2002, 09:08 PM
it works ..... thak you guys ....
richsmith
Oct 2nd, 2002, 03:03 AM
is there a way to do this with a user downloading a program that will block verious websites, using any web browser ??
plenderj
Oct 2nd, 2002, 06:25 AM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.