Squid proxy should allow only mentioned websites

Posted on 2006-04-27
Last Modified: 2012-06-22
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).
Question by:Mohan Shivaiah
    1 Comment
    LVL 2

    Accepted Solution

    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    ​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
    Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now