FirefoxRocks 0 Report post Posted March 13, 2008 I found this to be quite alarming when I found that sites I blocked using HOSTS were still accessible by Safari. My HOSTS file consists of many automatically added entries by Spybot S&D and SpywareBlaster and similar programs, but I also have some user added entries also. It is a 228KB file, and a small segment that I added looks like this:127.0.0.1 myspace.com127.0.0.1 http://forums.xisto.com/no_longer_exists/ ca.myspace.comI found it to be inaccessible by all user accounts using Firefox, Internet Explorer, Opera and Flock. However, I tried accessing it using Safari and it was completely accessible! This applies to all user accounts. Initially I thought it was cached, but I emptied the cache and history and it still worked.Isn't the HOSTS file supposed to be network-wide? If so, how is Safari accessing it? If it only applies to Internet Explorer, then how come it is still working with Firefox, Flock and Opera?I need to block sites in Safari and it doesn't seem to include any plugins to do this effective (I'm using Windows btw, not a Mac). Share this post Link to post Share on other sites
dserban 0 Report post Posted March 13, 2008 Is the "DNS client" service running on your PC? Share this post Link to post Share on other sites
FirefoxRocks 0 Report post Posted March 13, 2008 Is the "DNS client" service running on your PC?Yes, it's Automatic and without it, I would need to type in IP addresses to access sites instead of domain names. Share this post Link to post Share on other sites
wutske 0 Report post Posted March 13, 2008 Yes, it's Automatic and without it, I would need to type in IP addresses to access sites instead of domain names.No you don't, the only thing it does is caching dns entries, I have it disabled for years and I can still type normal urls . Share this post Link to post Share on other sites
FirefoxRocks 0 Report post Posted March 13, 2008 No you don't, the only thing it does is caching dns entries, I have it disabled for years and I can still type normal urls .So are you saying that if I disable it, the HOSTS file would be effective on Safari also? Share this post Link to post Share on other sites
xboxrulz1405241485 0 Report post Posted March 13, 2008 You can try that, remember, system preferences when it comes to networking on the Apple is only really linked to Safari. If you change it, it shouldn't affect Firefox and etc.xboxrulz Share this post Link to post Share on other sites
FirefoxRocks 0 Report post Posted March 13, 2008 You can try that, remember, system preferences when it comes to networking on the Apple is only really linked to Safari. If you change it, it shouldn't affect Firefox and etc.xboxrulzDid you forget to read that I was running Windows? Anyways, the site is still accessible, DNS Client running or stopped. Share this post Link to post Share on other sites
FirefoxRocks 0 Report post Posted June 27, 2008 It isn't working in Windows Vista either, is Safari "special" or something?? Are there any Windows plugins for it to block website (a blacklist)? Share this post Link to post Share on other sites
xboxrulz1405241485 0 Report post Posted June 27, 2008 Interesting enough that Safari runs all Mozilla plug-ins, but since they keep with their own design methods, many of the software itself is self-contained unlike traditional Windows software, so that in itself maybe a problem. There are no HOSTS problem on the MacOS X version. Try another Webkit web browser to see if it's just Safari or is it a Webkit issue.xboxrulz Share this post Link to post Share on other sites
yordan 10 Report post Posted October 5, 2011 I don't really understand where the problem is.In each computer, were it Windows or Linux or proprietary Unix, home or professional server, the host file has to exist and has to be readable by everyone.You also have to define the name resolution policy, first DNS and then local host file, or local host file and then DNS, or DNS only.Besides that, I personally feel very stupid to add fake IP addresses in a host file (for instance in ca.myspace.com in your example. Share this post Link to post Share on other sites