Using the "hosts" file
I have to block access of certain websites into my company's server. Is it a good idea to use the hosts file to block access ? Any other better ways?
|
You mean /etc/hosts?
I'm afraid that file is not blocking any access... You should better use iptables for that. |
You can use tcp wrapper , that is /etc/hosts.allow and /etc/hosts.deny
thnks |
All times are GMT -5. The time now is 10:28 PM. |