block facebook access on one computer windows 7 pro

Posted on 2012-09-19
Last Modified: 2012-10-16
i need to block acccess to facebook on a particular user's computer. computer is running windows 7 pro. what is the easiest way to do so, chrome and internet explorer are installed. thanks!
Question by:fkanemoto
    LVL 7

    Accepted Solution

    You can edit the hosts file on the PC in question. Add a line for pointing at the localhost address

    Now when the user tries to surf to it wil redirect to the computer itself and show a "page not found" message.
    LVL 10

    Expert Comment

    edit c:\windows\system32\drivers\etc\hosts
    add entries like

    add entries for every site you want to block, make sure hosts is no user writable, you need to add an entry for for each site and subdomain you want to block, hosts file does not support wildcards ie: * will not work.

    Author Comment

    i have opened the hosts file using notepad, made the edit , but it does not allow me to save it. access denied error. why??
    LVL 7

    Expert Comment

    Run as administrator?
    LVL 10

    Assisted Solution

    Run notepad as administrator, file->open->browse to c:\windows\system32\drivers\etc\

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    After playing around with my ASUS 1215n ( Netbook, I finally managed to get smooth HD 1080p ( playback of videos on it. Second Generation Intel Atom (http://en.…
    The "Notification Area" is that area on the righthand side of the Taskbar where your system clock resides, and probably a large number of other icons.  It used to be called, prior to Windows XP, the "system tray."  Programs just love to install an i…
    This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
    The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now