How to disable access to a handfull sites using the content assistent?

Ahmet Ekrem SABAN
Ahmet Ekrem SABAN used Ask the Experts™
on
Hello!

I want to restrict a users access using the content assistent of the Microsoft Internet Explorer 9. It works, but asks for each page accessed the first time for the content password. As pages may include advertisement, each of these pages need another password for admission. Also, if I admit the access to a page like www.cnn.com, say, I do not want to give admission for each new news page. Same for en.wiktionary.org: The user will access new words, each being another page. This seems to contradict to what I expect a content assistent should do: allow also the access to a site and its subpages.

But that is not my question. What I want to know is to restrict only a few pages, like www.facebook.com, www.facebook.de, or even www.facebook.*. Is this possible and, if yes, how?

Thank you for your help!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Technical Director
Top Expert 2015
Commented:
Hello,

If its only for one PC then edit the host file (with notepad) on the PC and put invalid entries for the specified domain.

Host file is here:
C:\Windows\System32\drivers\etc

Your entry's want to look like this:
"127.0.0.1    www.facebook.com"

127.0.0.1 is your localhost address so it will bring up an invalid page. If its for a few PC's then think about doing it via DNS.

For more information, see here:
http://helpdeskgeek.com/windows-7/windows-7-hosts-file/
Ahmet Ekrem SABANSenior IT consultant

Author

Commented:
Easy and excellent workaround!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial