learninmypc Posts: 9,798 +740 Nov 27, 2011 #1 A friend has asked me how to block facebook from a computer & I read some place where its a router setting? Is that true?? TIA
A friend has asked me how to block facebook from a computer & I read some place where its a router setting? Is that true?? TIA
D DelJo63 Nov 27, 2011 #2 Blocking a website for ALL users is easy. Exit your email program and any browser using an admin login, get a command prompt cd \windows\system32\drivers\etc attrib -r hosts notepad hostsat a minimum you will see # 127.0.0.1 localhost #anywhere below the line reading LOCALHOST, you add # kill these websites 127.0.0.1 facebook.com 127.0.0.1 www.facebook.com #make sure there is at least one space (or tab) between the address and the domain name save the file run the following attrib +r hosts ipconfig /flushdns net stop "dns client" net start "dns client" from then on, no one (including the admin) can access facebook.com
Blocking a website for ALL users is easy. Exit your email program and any browser using an admin login, get a command prompt cd \windows\system32\drivers\etc attrib -r hosts notepad hostsat a minimum you will see # 127.0.0.1 localhost #anywhere below the line reading LOCALHOST, you add # kill these websites 127.0.0.1 facebook.com 127.0.0.1 www.facebook.com #make sure there is at least one space (or tab) between the address and the domain name save the file run the following attrib +r hosts ipconfig /flushdns net stop "dns client" net start "dns client" from then on, no one (including the admin) can access facebook.com