Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
5/3/2006 4:31:38 AM EDT
How do I restrict a computer to only be able to visit one website?
It's a public access computer, that should only access an online scheduling page.
5/3/2006 4:44:39 AM EDT
[#1]
i think you can restrict the "host" file.   i've never done it but im sure it can be done somehow

host file is located: C:\WINDOWS\system32\drivers\etc  if your running xp  

wikipedia
5/3/2006 5:42:35 AM EDT
[#2]
Yeah, It's XP
5/3/2006 5:49:58 AM EDT
[#3]
hum.. seems like a dumb thing to do.

but. without the details, you wanna disable DNS (domain name lookup) so that it wont go out and try to resolve ANY URLs. or at least not be able to find DNS servers..

then...

put the URL for the web site in the host file (search undter your system directory, usually windows) its buried windows\system32\drivers\etc\host or something similar. be sure and put the correct IP address for the host.

now the only thing it can RESOLVE is the one URL in the hosts file. beyond that you have to get creative with firewalls which is the way it would be done in a corporate environment. Since if the user knows an IP address nothing prevents them form typing that in...
5/3/2006 5:51:46 AM EDT
[#4]
The easiest way would be like Cruze said, put the IP and hostname in the hosts file.  Then just under the TCP/IP settings for the machine, set the DNS server to manual entry then leave it blank.
5/3/2006 5:52:46 AM EDT
[#5]

Quoted:
hum.. seems like a dumb thing to do.

but. without the details, you wanna disable DNS (domain name lookup) so that it wont go out and try to resolve ANY URLs. or at least not be able to find DNS servers..

then...

put the URL for the web site in the host file (search undter your system directory, usually windows) its buried windows\system32\drivers\etc\host or something similar. be sure and put the correct IP address for the host.

now the only thing it can RESOLVE is the one URL in the hosts file. beyond that you have to get creative with firewalls which is the way it would be done in a corporate environment. Since if the user knows an IP address nothing prevents them form typing that in...



But this will take care of 99.9% of your users.
5/3/2006 2:35:45 PM EDT
[#6]

Quoted:
hum.. seems like a dumb thing to do.

but. without the details, you wanna disable DNS (domain name lookup) so that it wont go out and try to resolve ANY URLs. or at least not be able to find DNS servers..

then...

put the URL for the web site in the host file (search undter your system directory, usually windows) its buried windows\system32\drivers\etc\host or something similar. be sure and put the correct IP address for the host.

now the only thing it can RESOLVE is the one URL in the hosts file. beyond that you have to get creative with firewalls which is the way it would be done in a corporate environment. Since if the user knows an IP address nothing prevents them form typing that in...



Are there any other options? They just don't want that machine used for anything but the online scheduling.
5/3/2006 2:40:33 PM EDT
[#7]
ummmm

what's been offered is a good way to do it

Assuming Win2K or up

add an entry into the hosts file of for your scheduling app server

slap a bogus IP into the DNS of the network properties

now make sure the active user is just a user account and not an administrator and your set

a user account doesn't have the rights to change network properties so they can't set the DNS to anything other than what you've set it to

and the computer knows no other addresses than what's in the hosts file

make sure you dump the cookies and restart the computer or you can go to the trouble of flusing the DNS cache of the computer

that'll work

Edit : sounds like you need a network admin

-Barry
5/3/2006 2:42:06 PM EDT
[#8]

Quoted:
hum.. seems like a dumb thing to do.

but. without the details, you wanna disable DNS (domain name lookup) so that it wont go out and try to resolve ANY URLs. or at least not be able to find DNS servers..

then...

put the URL for the web site in the host file (search undter your system directory, usually windows) its buried windows\system32\drivers\etc\host or something similar. be sure and put the correct IP address for the host.

now the only thing it can RESOLVE is the one URL in the hosts file. beyond that you have to get creative with firewalls which is the way it would be done in a corporate environment. Since if the user knows an IP address nothing prevents them form typing that in...



That is a good way to do it.   Probably what I would do if I couldn't lock it down by a firewall/filter.
5/3/2006 6:43:05 PM EDT
[#9]
Thanks everybody,
It's just a little more complicated than I had hoped, but I'm sure
that I'll figure it out with all the suggestions above.