※ 引述《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