PDA

View Full Version : is a pac file better than a host file?


froo
January 26th, 2006, 01:55 PM
Hello, I actaully use both, i'm not going to post a giant exhaustive question. So what is better a pac file or host file. I think a .pac is because it supports reg. expressions and can block a host such as ad*.google.com and it will block http://ad.google.com advertising.google.com, ect. but a pac file requires that you configure on a automatic proxy in ur browser, and it can be temp, toggled off, also it cant be hijacked. unlike a pac file, a host files doesn't require configuaration in browser, but it does not support reg. expression, and is redundant such as adding both ad.google.com and http://ad.google.com, were as you'd have to ad every domain.

stupid read, but thats how i see pac/host differences. in my opinion pac is better.

pac (http://www.schooner.com/~loverso/no-ads/) v.s. [url=http://www.mvps.org/winhelp2002/hosts.htm[host[/url]

foo2
January 26th, 2006, 04:15 PM
pac file is generally more flexible true ,but pac file works only with mainly browsers, while host files will come into play whenever domain resolution occurs.

So it can in theory block more.