| Variables in hosts file possible? |
smells so good

msg:3197712 | 12:00 am on Dec 23, 2006 (gmt 0) | The crew doesn't understand no, so I'm blocking known favorite sites in my hosts file. One of those is myspace, which has dozens of subdomains. For now I've entered those subdirectories that I know will prevent access, but I'm wondering if there is a magic bullet for this scenario. From my searches around the web I think not.. In addition to a few known subdomains I've added the following 2 lines 127.0.0.1 .myspace.com 127.0.0.1 /myspace.com What I would like to do is something like this 127.0.0.1 *.myspace.com Is there a variable that works for the hosts file?
|
jdMorgan

msg:3197723 | 12:15 am on Dec 23, 2006 (gmt 0) | Nope, hosts files are dirt-simple text files, and handled as such by almost all 'net-capable operating systems. If it's not too late; fire off a quick note to Santa, and ask him for a firewall or a firewall/router adequate for your needs. Many in the $75.00-and-up range will block domains and wildcard subdomains, although you may have to dig into the on-line user's manuals to see if their implementation is adequate. The more-expensive 'corporate' firewalls will certainly solve your problem, and filter e-mail to boot. Jim
|
smells so good

msg:3197733 | 1:00 am on Dec 23, 2006 (gmt 0) | DOH! ( I'm getting a headache ;) ) I have a really good firewall that I can use. In fact, it works so good that I usually don't even think about it. It will be easier than loading all those locations in my hosts. Thanks.
|
|
|