Squid for windows whitelist - how?

Not sure if this is the best place to post this. If not please feel free to delete it or move it to the appropriate forum. I have installed squid on my Windows 8 laptop and want to use it as my proxy server. I have succeeded in getting it to prompt for a password when accessing websites, but not to use a whitelist. For some reason, I can’t get the tutorials I found on the net to work either they are wrong or something else in the default config file is preventing squid from blocking websites.
I tried this http://heifner.blogspot.ro/2007/04/simple-whitelist-internet-filter.html
and
http://www.webdnstools.com/articles/squid-proxy-whitelist
http://steelmon.wordpress.com/2009/11/22/setting-up-a-strict-whitelist-proxy-server-using-squid/
acl whitelist dstdomain “/etc/squid/whitelist.txt”
http_access allow whitelist
and neither work.