You are here

Hosts File

3 posts / 0 new
Last post
Antsh
Offline
Last seen: 17 years 3 months ago
Joined: 2007-03-20 16:40
Hosts File

Does FirefoxPortable use the hosts file located on the PC, like any other browser, or is there one located within the application folder?

SmithTech
SmithTech's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2006-11-24 18:06
I don't believe browsers

I don't believe browsers actually use the hosts file, its windows that uses the hosts file and responds to a request for the information.
But to answer your question, Firefox would "use" the same hosts file as any other browser.

For those who have fought for it, freedom has a flavor the protected will never know.

"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)

BvF7734
Offline
Last seen: 1 year 10 months ago
Joined: 2006-04-20 21:07
...

Any app that calls upon the dns service on the local machine uses the HOSTS file. I modify mine all the time to block popups and ads and such. The only times in which a HOSTS file does not work is when there is no DNS calls. This is basically when the page or app calls on a specified hard coded IP address like 127.0.0.1 instead of http :// www. wtf .com.

A good site that I have found that updates the HOSTS file is http://www.mvps.org/winhelp2002/hosts.htm It is constantly updated and I check it once or twice a week for updates. It has a nice batch file that you can place in your portable apps that will update and download the most recent hosts file from there so you can place it on all your machines. I am sure that a slight mod can be done in which it does in fact download the current one and then run another bat file to replace the hosts file. This could be done to remove any traces of your modification.

You have the right to remain silent. Anything you do or say will be exaggerated or mis-quoted and used against you.

Log in or register to post comments