Hey, i was wondering if it was possible to modify the HOST.txt file so that i can block certain file extensions such as .exe,.zip, etc. so that it is blocked from displaying in web browsers. I tried going into the host.txt file and adding "127.0.0.0 .exe" and that didn't make any difference.
Page 1 of 1
Modifying the HOST file How to block certain file extensions
#2
Posted 19 February 2009 - 10:32 PM
B
BU
BUM
BUMP
BU
BUM
BUMP
Interesting Links:
Softpedia - Online downloads encyclopedia
W3Schools - Website Programming Tutorials
PC World - Everything about technology
Wikipedia - Online Encyclopedia
Photobucket - Free Image Hosting
"I don't support network bridges, they support me."
Softpedia - Online downloads encyclopedia
W3Schools - Website Programming Tutorials
PC World - Everything about technology
Wikipedia - Online Encyclopedia
Photobucket - Free Image Hosting
"I don't support network bridges, they support me."
#3
Posted 19 February 2009 - 10:49 PM
It is not entirely clear what it is you're modifying.
system32\drivers\etc\HOSTS ?
or some other hosts.txt file
HOSTS file has no extension.
That said, if I think what you want is the HOSTS file, then you can't do it. It is meant for IPs, not .exe and other files. For those a firewall of some sort is normally used.
Here is a reference to the HOSTS file I'm talking about.
http://www.bleepingcomputer.com/forums/topic123980.html
system32\drivers\etc\HOSTS ?
or some other hosts.txt file
HOSTS file has no extension.
That said, if I think what you want is the HOSTS file, then you can't do it. It is meant for IPs, not .exe and other files. For those a firewall of some sort is normally used.
Here is a reference to the HOSTS file I'm talking about.
http://www.bleepingcomputer.com/forums/topic123980.html
Share this topic:
Page 1 of 1

Help


Back to top








