I want to block blacklisted sites on a local PC. The admin part should be protected by password. Could anybody recomends a Lightweight solution?


If you will go to that PC and do this your self, can make yourself admin, go to the hosts file add all the blacklisted sites and point them to google or some other site. General users can be non admins and thus wont be able to edit this file.

On my windows I need to copy the hosts file from its location:


To a new folder like d:\mystuff\ , edit it there, then copy it back to itsdefault location, say yes to the UAC and its done.

Sample extract x.acme.com # x client host

localhost name resolution is handled within DNS itself. localhost

::1 localhost bad.com

Here replace bad.com with the blacklisted domain name. Similarly make new rows for each domain

  • I know about hosts. But it is not suitable for my situation :( I really need a software. – dr0zd Jun 26 '14 at 10:36
  • There are local proxy apps that do that. again depends if its in a lan or a local internet connection. if local then user should not be an admin – tgkprog Jun 26 '14 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.