Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-11-2003, 11:58 PM   #1
Member (8 bit)
 
Join Date: May 2000
Location: Manila
Posts: 192
Send a message via ICQ to JUNG2
Preventing Access to certain site using IE6

How do I prevent someone from going to a particular site? All I want is to restrict one site only. I tried using Advisory content but everytime I try to access other sites it always asking me for a password to be approve when all I want is to restrict one site only.

Thanks
JUNG2 is offline   Reply With Quote
Old 03-12-2003, 11:07 AM   #2
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 36,460
Thinking about this - putting it into the Restricted Zone won't block access.....but maybe if you redirect that site to 127.0.0.1 in the hosts file, that will take care of it.
glc is offline   Reply With Quote
Old 03-12-2003, 06:00 PM   #3
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
I was trying to do this too, so your timing is great!

However, I tried the HOSTs trick, and it wouldn't work for me.

I am trying it on a computer running Win2000 Pro, and IE 6.

There are two hosts files on the HDD:

C:\I386\HOSTS

C:\WinNT\System32\Drivers\Etc

I don't know why there was one in I386 (or even what that folder is - could be put there by IBM?)

However, I put the site, redirected to 127.0.0.1 into both HOSTS files and it still doesn't work.

Doing exactly the same thing on another machine running Win98FE works fine and blocks access.

Any idea what I might try?

Thanks,

David.

Last edited by David_Jones; 03-12-2003 at 06:02 PM.
David_Jones is offline   Reply With Quote
Old 03-12-2003, 11:05 PM   #4
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 36,460
Copy one of the hosts files you modified into a directory that's in the path - like c:\winnt.
glc is offline   Reply With Quote
Old 03-13-2003, 05:39 AM   #5
Member (7 bit)
 
Join Date: Nov 2000
Location: High Wycombe, UK
Posts: 111
David - you've probably modified the HOSTS.SAM file in the C:\WinNT\System32\Drivers\Etc. Rename it to HOSTS - it's in the right place. The I386 folder you've got is where the W2K install files are. Check the format:

127.0.0.1 www.bannerspace.com ##
rambler is offline   Reply With Quote
Old 03-13-2003, 06:49 PM   #6
Member (8 bit)
 
Join Date: May 2000
Location: Manila
Posts: 192
Send a message via ICQ to JUNG2
I got it. It's on internet tools>internet options>content>enable>approved sites(type in site address)>click never>general tab>check user can see site that have no rating and unchec supervisor can type in password.....

this will restrict sites that you don't want to be viewed

Thanks
JUNG2 is offline   Reply With Quote
Old 03-13-2003, 08:40 PM   #7
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Hi,

The file was HOSTS not HOSTS.SAM (the .sam file is just the sample file I believe).

I'll try adding the etc folder to the path and see whether than helps.

I was somewhat suprised to find that DOS environment variables still appear in Win2000. I though DOS was dead in that OS!

Do I need those two hashes at the end of each line?

Thanks,

David.
David_Jones is offline   Reply With Quote
Old 04-07-2003, 07:30 AM   #8
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Hi All,

I had some time, so I thought I'd return to this issue.

It still isn't working for me under Win2000.

I have tried with and without the hashes.

Any other ideas?

David.
David_Jones is offline   Reply With Quote
Old 04-07-2003, 08:07 AM   #9
Member (13 bit)
 
Xayd's Avatar
 
Join Date: Jun 2000
Location: nowhere.com
Posts: 4,819
Send a message via AIM to Xayd
It has to be named "HOSTS" with no extension.

If you saved it as a text file or word file or whatever, it won't work.
Xayd is offline   Reply With Quote
Old 04-07-2003, 05:03 PM   #10
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Hi Xayd,

I checked again, and it is definately HOSTS with no extension (no txt, sam, doc or anything else).

Typical that something so simple in Win98 has to be stuffed for me in Win2000!

David.
David_Jones is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:48 PM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0