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

Step

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.

Step

Open Internet Explorer, click "Tools," then select "Internet Options."

Step

Select the "Privacy" tab and click "Sites."

Step

Enter the website you wish to block in the field provided; click "Block," and then choose "OK."

Block Websites From Any Browser

Step

Click "Start," then select "All Programs." Choose "Accessories," then "Command Prompt."

Step

Type the following string into the DOS command prompt produced by Step 1: "notepad C:/Windows/System32/drivers/etc/hosts."

Step

In the notepad, find the line "127.0.0.1 localhost."

Step

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."

Step

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.