Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just installed squidguard in my server to restrict porn or adult site. I followed these instruction.

It's working great. Problem is squiguard list(blacklist) as porn site. I want to remove youtube from blacklist. How can i do this?

Database save in /var/lib/squidguard/blacklist/... I found several youtube site links in blacklist/porn/uris but when I tried to open it with gedit (with root permission) it says

some char does not show, modify this file can corrupt the file.`

Is there any good way to remove a site or add a site in squidGuard Blacklist?

share|improve this question
  • Create a file /var/lib/squidguard/blacklist/porn/urls.diff
  • Make the following entry in the file:
  • Run the command:squidGuard-u /var/lib/db/squidguard/blacklist/porn/urls.diff
share|improve this answer

you need to read this site betters and good , but this site will need you to monitoring much site as you will put or the porn site wont be blocked, but if you want to use just a string word like when i type porn from google it will blocked i think you need to know about regex for it using squid also work but it will block anything that related with the porn keyword here my recommended site to use the block website


hope 3 of them help you bro.

share|improve this answer
unfortunately none of the link is useful :(. i checked each one. First one is not related with squidguard, 2nd one is backdated and 3rd one did not help. thanks for you reply – shantanu Mar 24 '12 at 18:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.