How to Block Access to a Website
Internet security is an important part of modern computing. Not only must one worry about protecting the data a computer contains--one must also prevent users from accessing data and content that they feel is compromising or inappropriate. A computer's administrator can take several steps to block inappropriate websites that children or other users may be attempting to view.
Blocking Site Access With Internet Explorer
Uninstall any web browsers on your computer other than Internet Explorer. Internet Explorer is often the easiest browser to use to limit web site access.
Open Internet Explorer, click "Tools," then select "Internet Options."
Select the "Privacy" tab and click "Sites."
Enter the website you wish to block in the field provided; click "Block," and then choose "OK."
Block Websites From Any Browser
Click "Start," then select "All Programs." Choose "Accessories," then "Command Prompt."
Type the following string into the DOS command prompt produced by Step 1: "notepad C:/Windows/System32/drivers/etc/hosts."
In the notepad, find the line "127.0.0.1 localhost."
Type "127.0.0.1," followed by the name of any website you wish to block under "127.0.0.1 localhost." For instance, if you wanted to block cnn.com, you would type "127.0.0.1 www.cnn.com" underneath "127.0.0.1 localhost."
Save the altered notepad under "File," and close it. You can go back to this notepad at a later time and delete the strings you entered to enable the disabled sties.
Tips & Warnings
- When blocking websites from users on your computer, make sure the blocked users must log in under their own user account, which does not have administrative privileges. If they have administrative access, they can reverse any attempts you make to block them.There are website blocking programs, such as Website Block, that can be downloaded and run to assist with blocking websites. Some firewalls and certain web browsers can also be configured to block certain websites.