Squid proxy should allow only mentioned websites

Hi Guys,
I have a squid running on my network, i want to allow some sites and other sites should be blocked, can any one tell me how do  i it with out using any other filters.(like squidguard, dansguardian, ....etc).
Mohan ShivaiahAsked:
Who is Participating?
Check thease line out (have`nt tried them myself, yet I`m quite sute that your computer will not blow up if you`ll use them :))

acl good_url url_regex "/etc/squid/squid-noblock.acl"
http_access allow good_urls

And then
http_access all deny

Then add the sites you want to /etc/squid/squid-noblock.acl.

Have a nice day
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.