|
-
Oct 1st, 2002, 07:21 PM
#1
Thread Starter
Lively Member
blocking game sites
how do i avoid a user to visit some sites ????
-
Oct 1st, 2002, 07:23 PM
#2
PowerPoster
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....
-
Oct 1st, 2002, 07:36 PM
#3
Thread Starter
Lively Member
it could in any way it does not matter !!!
-
Oct 1st, 2002, 07:37 PM
#4
PowerPoster
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....
-
Oct 1st, 2002, 08:41 PM
#5
Thread Starter
Lively Member
it's a stand-alone PC
just to make shure the users won't play games during work hours.
-
Oct 1st, 2002, 08:42 PM
#6
PowerPoster
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
-
Oct 1st, 2002, 08:43 PM
#7
PowerPoster
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....
-
Oct 1st, 2002, 08:48 PM
#8
Thread Starter
Lively Member
how do i edit the host file , to block for example www.yahoo.com???
-
Oct 1st, 2002, 08:50 PM
#9
PowerPoster
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....
-
Oct 1st, 2002, 08:57 PM
#10
PowerPoster
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
-
Oct 1st, 2002, 09:01 PM
#11
Thread Starter
Lively Member
there's no host file in XP professional ...
-
Oct 1st, 2002, 09:03 PM
#12
PowerPoster
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\
-
Oct 1st, 2002, 09:08 PM
#13
Thread Starter
Lively Member
it works ..... thak you guys ....
-
Oct 2nd, 2002, 03:03 AM
#14
Hyperactive Member
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 ??
-
Oct 2nd, 2002, 06:25 AM
#15
Retired VBF Adm1nistrator
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|