Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
but when i access ajhits.com or others mp3 downloading site, i can download mp3s
but i want to block downloading this files
if it's having no effect either you've not restarted squid or the entries are in the wrong place. you need to appreciate that with acl's in squid it will start at the top one and work down until a definite answer is received. you need to insert the http_access entry relative to your existing ones, probably fairly near the top of them. just make sure there are no rules above it to make it obselete, and it is not so high as to impact other rules below it. for example there is a default rule to allow the local machine to download anything. this is normally a very good thing. if this rule moves above it, that specific rule to permit 127.0.0.1 to do anything at all will no longer function.