查看: 1616|回复: 2
|
[间谍:分享]防止不请自来的间谍网站遮蔽文件 Host File
[复制链接]
|
|
http://chinese.cari.com.my/myfor ... d=83563&fpage=3
看了以上,都是发生事情才来医治。
利用 host file, 可以防止不请自来的间谍网站悄悄登妨你的电脑。
每架电脑都有 host file, host file 里面可以设置防止电脑登录某些网站。已经有人在网路上将这些间谍网站弄成现成的 host file, 大家只要下载,然后将它覆盖到应有的位置,就可以了[如果你担心出问题,可以将原本的 host 文件改名成 host-rename 做备分]。
host file 是一个 host 为名的文件,并没有任何后缀。比如要遮蔽ad.doubleclick.net,就输入:
127.0.0.1 ad.doubleclick.net
当你的电脑要登录 ad.doubleclick.net 时候,电脑会先对照 host file, 因为有相关的 entry, 那么电脑会误认 ad.doubleclick.net 是电脑本身其中一个 server, 所以不会连接到网络上的ad.doubleclick.net,这样可以遮蔽电脑造访这些间谍网站。
如果不要遮蔽某个项目,只要在前面加上 # 或者删除这个项目,就可以了,如:
#127.0.0.1 ad.doubleclick.net
下面的 host 是别人已经将网络上一般常见的间谍网站组合起来了,可以遮蔽很多间谍网站了。。。。
另外需要注意的,如果你担心 host file 被恶意病毒网站更改里面的内容,那么只要将 host file 的属性设成 "read only", 就可以了,那么病毒就算要更改 host file,也更改不到了。 将滑鼠右键指向 host file, 然后选 "properties", 之后就设置 host file 属性成为 "read only".....
如果你的电脑本来的 host file 是原封不动的,那么应该只是一个 1kb 的文件,以下的 host file 是大约 100+ kb, 文件。。。。。
出了以上功能,自己也可以善巧利用host file ,比如你不要让一些 web tracker 如 extremetracking 或者 nedstatbasic.net 记录你登录的某个网站,只要将他们记录在 host file 如下,那么以后登录用这些记录服务的网站,就不会留下任何痕迹的。
127.0.0.1 extremetracking.com
127.0.0.1 usa.nedstatbasic.net
127.0.0.1 m1.nedstatbasic.net
对照了以下网站跟 host file , 几乎 99%里面所说的网站都被记录在里面了。。。。
http://chinese.cari.com.my/myfor ... d=83563&fpage=3
其余详情,看:
http://mvps.org/winhelp2002/hosts.htm
[size=+1]You can use a HOSTS file to block ads, banners, cookies, web bugs, and even most hijackers. This is accomplished by blocking the Server that supplies these little gems. Example - the following entry 127.0.0.1 ad.doubleclick.net blocks all files supplied by the DoubleClick Server to the web page you are viewing. This also prevents the server from tracking your movements.
Now includes most major parasites, hijackers and unwanted Search Engines!
In many cases this can speed the loading of web pages by not having to wait for these ads, banners, hit counters, etc. to load. This also helps to protect your Privacy by blocking servers that track your viewing habits, known as "click-thru tracking". Another feature of the HOSTS file is it's ability to block other applications from connecting to the Internet, as long the the entry exists.
Download:http://mvps.org/winhelp2002/hosts.zip hosts.zip [right-click - Select: Save Target As] [Updated 05-02-04]
Unzip and place in the appropriate installed location:
Note: the below locations are for the default paths, edit as needed.
Windows XP=C:\WINDOWS\SYSTEM32\DRIVERS\ETC
Windows 2K=C:\WINNT\SYSTEM32\DRIVERS\ETC
Win 98\ME=C:\WINDOWS
There is no need to install, turn on, or change any settings. Windows automatically looks for the existence of a HOSTS file and if found, checks the HOSTS file first for entries to the web page you just requested. The 127.0.0.1 is the location of your computer, so when the entry "ad.doubleclick.net" is requested your computer thinks 127.0.0.1 is the location of the file. When this file is not located it skips onto the next file and thus the ad server is blocked from loading the banner, Cookie, or some unscrupulous javascript file.
In case you're wondering ... this all happens in microseconds, which is much faster than trying to fetch a file from half way around the world. Another great feature of the HOSTS file is that it is a two-way file, meaning if some parasite does get into your system (usually bundled with other products) the culprit can not get out (call home) as long as the necessary entries exist. This is why it's important to keep your HOSTS file up to Date. [未完,其余部分自己去相关网页阅读]
http://mvps.org/winhelp2002/hosts.htm
[size=+3]如果你更改了host file, 然后本来可以进入的网站却不能登录了,即是进入相关网站, IE 只是空白一片,那么可能是host file 作怪,可以用 notepad 打开 host file, 然后找到相关网站,更改里面的项目,就可以了。
另外一个 host file 网站,应该内容比较丰富,因为此网站提供的 host file 容量比较大 800kb, 我是用 http://mvps.org/winhelp2002/hosts.htm 的,供参考,自己选择用那个网站提供的都无所谓。
http://webpages.charter.net/hpguru/hosts/hosts.html
如果担心IE被 hijacked, 可以用 Opera 浏览器, http://www.opera.com , 就算进入 hijack 网站,也不会 hijack opera 浏览器..... |
|
|
|
|
|
|
|
发表于 8-5-2005 12:36 PM
|
显示全部楼层
很多人都沒有關注和忽略了 host file 的威力﹐奉勸還沒有用以上方法的人士快去更改你的 host file 吧。改一改就這麼簡單﹐別人已經整理好了﹐又是免費的﹐確保沒有廣告網頁自動上門。 |
|
|
|
|
|
|
|
发表于 8-5-2005 09:46 PM
|
显示全部楼层
恩恩~~
小弟很早以前就知道好像有这个设定的地方了。
只是不太清楚详细情况。
现在一看之下恍然大悟。
真的非常感谢楼主这个咨询。
谢谢楼主 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|