How to block facebook for a student?

<p>yeah just edit the host file</p>

<p>It tells your computer that whenever someone tries to go to facebook.com that the computer can find it on your computer and since you aren’t facebook it just sends an error message back. When you want to undo it just delete the “127.0.0.1 facebook.com” line.</p>