how do i avoid a user to visit some sites ????
Printable View
how do i avoid a user to visit some sites ????
Thru VB? Don't think there is a way...:(
it could in any way it does not matter !!!
Is this for a Web Server (for a company), or for a stand-alone PC ?
it's a stand-alone PC
just to make shure the users won't play games during work hours.
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 :)
Can't you add sites to block in NT,2k, XP on the local system?
how do i edit the host file , to block for example www.yahoo.com???
Need to figure out a way to get to the Content Provider area of the IE browser...
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 :)
there's no host file in XP professional ...
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\
it works ..... thak you guys ....
is there a way to do this with a user downloading a program that will block verious websites, using any web browser ??
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.