How can I Restrict a Laptop Browser to just 1 Website

This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.


Thread Starter
May 15, 2012
How can I Restrict a laptop to just 1 Website on our network?

Short Version:
I have a laptop that stays at home, never leaves the building. I want to restrict it to ONE website, that’s it.
It runs on Windows XP, we prefer Firefox browser, However, I have used Puppy Linux in the past, and if possible, I'd like to get a BOOT CD set up with a browser the laptop can be booted off of, so no need for AntiVirus software, hard drive, etc …

Long Version:
We must restrict web access on 1 of our laptops to just ONE website on our own network The laptop never leaves our building.

We have an internet account with cable company, & a Linksys router. There are 2 computers on the network (1 Wired, 1 Wireless), we want to add an old Toshiba Portege laptop (via/Wireless).

Wish List:
1) We must restrict web access on only the laptop to ONE specific website, while allowing the other two computes to be able to work normally.

2) If possible, we would really, like if the laptop could be booted from a CD, (something like Puppy Linux), so we don't have to worry about all the hassles associated with other Anti-Virus software, viruses, hard drives, etc ...

3) If you know of any software, or a way to do this, Please Advise.
..... Better Yet; if you know of an .ISO that is set up to do this - That would be AWESOME (hint hint)!!

Thank You for your Time and Consideration!
Apr 23, 2004
The Experts Exchange site only allows viewing of the "answer" if you pay....

The simplest solution for the OP is to set IE or FF to use a proxy server that doesn't really exist, then enter the one site into the "exception" field.
Jan 15, 2013
Sorry about it, I had obtained the information on a google search read through it and copy pasted you the link. i clicked the same link myself and your right.

Well i Refound the information:

Hi, there is a way to do this that is commonly used. This is from a guide at

1) First, make sure that you take off all browsers except IE and block users from downloading/installing new software. This will only work for IE.

2) Next you need to write a special little text file. The file will configure Content Advisor to block all Web sites. Then you'll make one exception for your site. It’s not hard to do.

Start with Notepad. To open it, click Start>>All Programs>>Accessories>>Notepad. Then copy and paste the following:

((PICS-version 1.0)
(rating-system "")
(rating-service "")
(name "Noaccess")
(description "This will block all sites.")
(transmit-as "m")
(name "Yes")
(name "Level 0: No Setting")
(description "No Setting")
(value 0) )
(name "Level 1: No Setting")
(description "No Setting")
(value 1) ) ))

After pasting in the text, click File>>Save As. Under "Save in:," select the C: drive. Select the Windows folder. Then select the System32 folder. That's where you'll be saving the new file.

Under "Save as type," select All Files. Under "File name," type in the name "noaccess.rat" (without the quotes). Finally, click Save.

Now you can start Content Advisor. From Internet Explorer, click Tools>>Internet Options. Select the Content tab. Under Content Advisor, click Enable. Select the Approved Sites tab.

Type in the Web address of your site. Windows understands wildcards (*). So you don't have to specify each page of your site. For example, instead of, enter * After typing in the address, click Always. Now your site is listed as the only approved site.

Next, create a password for Content Advisor. Otherwise, someone might disable it and start surfing away on the Internet. Select the General tab. In Content Advisor, select the General tab. Under "Supervisor password," click Create Password.

You can type in a password and a password hint. The hint can help if you forget your password later. And it's a good idea. Without the password, you won't be able to access Content Advisor without some creative measures. When you finish, click OK.

Under "Ratings systems," click the Rating Systems button. Select any items listed and click Remove. Then click Add and pick the noaccess.rat file that you made earlier. Then click OK. You'll be at the General tab again.

Finally, make sure that the checkboxes under "User options" are not marked. Then click OK.

Now you can test the new settings. Try your Web site to make sure it works. Then try going to other sites. Internet Explorer will display a warning that other sites are not allowed.


My friend the solution of you problem is ISA server 2000 or 2004 in this you can create web content filtering rule to make sure that your students can't access an unauthorized site. But if you do not want to get into this whole thing then there is another small but effective solution which is as follows. (But still i strongly recommend you to take the first solution because the second one is quite simple but you have to manually restrict the sites one by one by there URLS which is quite time taking). The choice is yours.

1.) Open “Run” from the start menu (or press WinKey + r). Just copy paste the following path and hit ENTER.

notepad %windir%\system32\drivers\

Alternately, go to C:\Windows\System32\Drivers\Etc and find the file “hosts”. Open that file in Notepad.

2.) When this hosts file is opened in Notepad, at the end of the file you will see something like “ localhost”.

3.) Under “ localhost” just add another website URL that you want to block.

For Example:- localhost etc

4.) Make sure every time you add another website, the last digit of the address 127.0.0.x should not be the same.

5.) Save the file and exit.

So, here you go. Restart your browser if it is opened and changes will take place immediately.

The good thing is that no message, no pop ups nothing will be displayed when someone tries to open a blocked website. Your browser will just fail to open those websites without any error messages.


How do you connect to the internet? If you do have a Squid like proxy in-between, the best solution is to implement an ACL at the proxy.
Using this solution, no matter what browser some one uses, etc, requests only to the domain specified will be allowed! Here is how it is to be done:

# File: /usr/local/etc/allowed-sites.squid

# File: /usr/local/etc/restricted-sites.squid

Just as a bonus, if you want to block MP3's etc., here is an ACL for it:
acl BlockExt url_regex -i \.mp3$ \.asx$ \.wma$ \.wmv$ \.avi$ \.mpeg$ \.mpg$ \.qt$ \.ram$ \.rm$ \.iso$ \.wav$ \.exe$

acl webRadioReq1 req_mime_type -i ^video/x-ms-asf$
acl webRadioReq2 req_mime_type -i ^application/$
acl webRadioReq3 req_mime_type -i ^application/x-mms-framed$
acl webRadioRep1 rep_mime_type -i ^video/x-ms-asf$
acl webRadioRep2 rep_mime_type -i ^application/$
acl webRadioRep3 rep_mime_type -i ^application/x-mms-framed$

acl WMP browser Windows-Media-Player/*

http_access deny BlockExt !UtentiGold
http_access deny WMP all
http_access deny webRadioReq1 all
http_access deny webRadioReq2 all
http_access deny webRadioReq3 all

http_reply_access deny webRadioRep1 all
http_reply_access deny webRadioRep2 all
http_reply_access deny webRadioRep3 all

These can be good start up guides for you:
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!