Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How can i block 1 Website from being accesses on 1 machine. Not via ISA but via the local machine. Is there any way to block all pages from a particular website.

Posted on 2010-01-11
Medium Priority
Last Modified: 2012-05-08

How can i block 1 Website from being accesses on 1 machine. Not via ISA but via the local machine. Is there any way to block all pages from a particular website.

Question by:bsharath
LVL 74

Assisted Solution

by:Glen Knight
Glen Knight earned 600 total points
ID: 26282271
You could put an entry into the local host file on the computer.


This would obviously be easily changeable if someone know how to.
LVL 11

Expert Comment

ID: 26282274
You can do from

Tools->Internet Options -> Content Adviser
LVL 12

Accepted Solution

zoofan earned 1400 total points
ID: 26282292
If the local user does not have admin rights on the pc

Option 1)
Edit the 'host' file and redirect the domain name to the loop back address.
Open c:\windows\system32\drivers\etc\host with notepad and add a line at the end


This will not prevent the user access to the site if they type the ip address in the browser.

Option 2) The restricted sites settings in Internet explorer to block it. But again wont prevent access with another browser.

Option 3) use the windows firewall and create a run to block the site(fi its running).

Thats all I can think of at the moment.

If the user has local admin rights your not going to successfully accomplish this as they can undo anything you do.


Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 11

Author Comment

ID: 26282438
I have Vista and i have given this in the hpsts file


But still able to open..?
LVL 12

Expert Comment

ID: 26282445
Did you clear the current DNS cache?

Command prompt:

ipconfig /flushdns

LVL 11

Author Comment

ID: 26282498
Still does not work
LVL 12

Expert Comment

ID: 26282527
You know what,  If your using ISA server on the LAN and browser is configured for proxy then there is no local DNS request.    The ISA handles it, point of fact with a proxy setup in the browser you can get internet with out a DNS server address or gateway address setup in IP settings.

You may have to use an ISA rule to do it if you can not do it in the 'Restricted sites' option of IE(again wont help for Firefox or other browsers).

I apologize I completely over looked that statement in your original question.


Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article covers five tools all IT professionals should know about, as they up productivity by a great deal!
It is a real story and is one of my scariest tech experiences. Most users think that IT experts like us know how to fix all computer problems. However, if there is a time constraint and you MUST not fail the task or you will lose your job, a simple …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

571 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