作者OortCloud (欧特云)
看板Network
标题Re: [问题] 怎样限制只能逛某个网页?
时间Tue Sep 8 13:39:14 2009
※ 引述《jami520 (我的生命因你而发光)》之铭言:
: 目前有个客户全省有12家分店,想说每家分店摆放一台电脑可以上他们网站查询库存
: 但却又不希望员工会藉此上网或聊MSN
: 不知道有什麽方式可以锁住只有让IE可以上网,且只能逛限定的网页呢? 谢谢~
有个很容易的方式请您试试看(没试过有没有效)
假设说这12家分店用的是不同的ISP
又 用的电脑是windows xp professional的板本
可以使用以下做法
1.每台电脑前端使用简单的IP分享器
2.设定此电脑为固定IP(在此IP分享器的class C底下)
3.DNS请不要设定
4.找到 WINDOWS\system32\drivers\etc\hosts这个档案
5.使用记事本开启 会出现以下内容
===========================================================================
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
===========================================================================
6.假设说只限定这台电脑只能上ptt.cc
这个档案底下加上 140.112.172.11 ptt.cc
如下图(记得要标齐对正) 然後存档
===========================================================================
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
140.112.172.11 ptt.cc
============================================================================
然後在windows下开启guest权限让使用者不能更动ip位址及这个档案
试试看这样做OK不OK
(此方式只是把DNS封锁住 如果使用者直接打网站的IP位址是没有用的)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 163.14.36.140