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.
220.127.116.11 x.acme.com # x client host
localhost name resolution is handled within DNS itself.
Here replace bad.com with the blacklisted domain name. Similarly make new rows for each domain