Blocking a user from accessing specific ip\website

  • Thread starter Thread starter harryguy082589
  • Start date Start date
H

harryguy082589

Hi,

Is there anway to block certian users from acessing certian domain\ip
adress. Useing the bulit-in IE tools is uesless because people will
just use other browsers.

thank you in advance for the help,

dan
 
Hi,

Is there anway to block certian users from acessing certian domain\ip
adress. Useing the bulit-in IE tools is uesless because people will
just use other browsers.

thank you in advance for the help,

dan

If Internet access is provided by a broadband router, see if the
router has the ability to block access to specified domains and IP
addresses for certain users. For example, this web page says that the
Netgear RP614 can let parents restrict and monitor access to
inappropriate web sites:

http://www.netgear.com/products/details/RP614.php#protect

I don't know of anything built into Windows XP that can block access
by certain users and allow access by other users. Here are some
things that affect all users on a computer:

1. To block access to a domain, add an entry to the Hosts file that
assigns the TCP/IP loopback address to the domain. For example, to
block access to www.example.com:

127.0.0.1 www.example.com

To edit the Hosts file, use this command, being sure to include the
"." at the end:

notepad C:\Windows\System32\Drivers\Etc\Hosts.

2. To block access to an IP address, add an entry to the route table
that assigns a non-existent IP address in the local subnet as the
gateway to the address. For example, assume that the default gateway
is 192.168.0.1 and that there's no host with IP address 192.168.0.254.
This command would block access to IP address 1.2.3.4:

route add 1.2.3.4 mask 255.255.255.255 192.168.0.254
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
You will probably have to block access through a hardware level, for
example, by using a router.
 
The problem with both of those sugestions is i'm trying to block the
websites for olny one user
 
Well in your situation, the most simple solution to this would be to
purchase a Internet Security Suite, which provides Parental Control. An
example of this would be Nortons Internet Security 2006.
 
where exactly to I add this command :
route add 1.2.3.4 mask 255.255.255.255 192.168.0.254

in the Hosts. file?
or in the command prompt?
i tried both and it didnt work.

i dont know much about tcp/ip so excuse my stupidity but should i put
my own subnet mask or use 255.255.255.255?
 
If Internet access is provided by a broadband router, see if the
router has the ability to block access to specified domains and IP
addresses for certain users. For example, this web page says that the
Netgear RP614 can let parents restrict and monitor access to
inappropriate web sites:

http://www.netgear.com/products/details/RP614.php#protect

I don't know of anything built into Windows XP that can block access
by certain users and allow access by other users. Here are some
things that affect all users on a computer:

1. To block access to a domain, add an entry to the Hosts file that
assigns the TCP/IP loopback address to the domain. For example, to
block access to www.example.com:

127.0.0.1 www.example.com

To edit the Hosts file, use this command, being sure to include the
"." at the end:

notepad C:\Windows\System32\Drivers\Etc\Hosts.

2. To block access to an IP address, add an entry to the route table
that assigns a non-existent IP address in the local subnet as the
gateway to the address. For example, assume that the default gateway
is 192.168.0.1 and that there's no host with IP address 192.168.0.254.
This command would block access to IP address 1.2.3.4:

route add 1.2.3.4 mask 255.255.255.255 192.168.0.254

where exactly to I add this command :
route add 1.2.3.4 mask 255.255.255.255 192.168.0.254

in the Hosts. file?
or in the command prompt?
i tried both and it didnt work.

i dont know much about tcp/ip so excuse my stupidity but should i put
my own subnet mask or use 255.255.255.255?[/QUOTE]

Type it in the Start | Run box, or open a command prompt window (Start
| Run | cmd) and type it there.

To make the command permanent, so that you only have to type it once,
add the "-p" option:

route -p add 1.2.3.4 mask 255.255.255.255 192.168.0.254

Be sure to substitute the actual addresses for "1.2.3.4" and
"192.168.0.254".
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Thanks , can I use a URL instead of the 1.2.3.4 ip address?

1. To block access to a domain (URL), add an entry to the Hosts file
that assigns the TCP/IP loopback address to the domain. For example,
to block access to www.example.com:

127.0.0.1 www.example.com

To edit the Hosts file, use this command, being sure to include the
"." at the end:

notepad C:\Windows\System32\Drivers\Etc\Hosts.

2. To block access to an IP address, add an entry to the route table
that assigns a non-existent IP address in the local subnet as the
gateway to the address. For example, assume that the default gateway
is 192.168.0.1 and that there's no host with IP address 192.168.0.254.
This command would block access to IP address 1.2.3.4:

route -p add 1.2.3.4 mask 255.255.255.255 192.168.0.254
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
it works thanks

one last question, lets say i blocked an ip with the route -p command
how do i unblock it?
 
1. To block access to a domain (URL), add an entry to the Hosts file
that assigns the TCP/IP loopback address to the domain. For example,
to block access to www.example.com:

127.0.0.1 www.example.com

To edit the Hosts file, use this command, being sure to include the
"." at the end:

notepad C:\Windows\System32\Drivers\Etc\Hosts.

2. To block access to an IP address, add an entry to the route table
that assigns a non-existent IP address in the local subnet as the
gateway to the address. For example, assume that the default gateway
is 192.168.0.1 and that there's no host with IP address 192.168.0.254.
This command would block access to IP address 1.2.3.4:

route -p add 1.2.3.4 mask 255.255.255.255 192.168.0.254

it works thanks

one last question, lets say i blocked an ip with the route -p command
how do i unblock it?[/QUOTE]

You're welcome. To unblock an IP address, enter this command to
delete the route:

route delete 1.2.3.4
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Back
Top