Squid + squidguard with wildcard expressions for youtube
Hello, to all.
I was wondering if it is possible to block all movies, like youtube-videos. I know where and how i can do this. Using both squid and squidguard with for example a list from http://www.shallalist.de/Downloads/shallalist.tar.gz I am able to fetch all catagories. Then creating "group acls" and probably also some tarcget rules I only want to allow videos from a special channel.
Does someone know how to do this?
Now I would like to allow all videos in my example shown beneeth.
What must I place here? Need I to place anything here?
Did someone had this situation and solved it.
I would be very pleased to get some hints.
thnx and cu.
I've never tried it, but SquidGuard has whitelists, so perhaps you could try adding your channel to the whitelist while blocking all of YouTube:
thanx 4 your info and answer, but I already decribed what I am doing. The whitelist you mentioned is one way to give a custom rule access.
I am looking 4 a solution to give the access 4 schools. For example this school has it´s own channel. Every teacher or student wants to post something in their own channel. Now the ruleset disallows all connections to youtube and other streaming services. In this issue I want to give the full acces to this channel and I don´t want to add each video on deamand. This should funtion automaticly.
Any solutions 4 this request?
Sorry, I must admit that I did have a bit of a hard time reading your post. I thought you were asking how to block all of a domain but let particular subdomains through. In your first sentence, you ask if you can block all movies like YouTube videos. In your second sentence, you say you know how. If you know how, then why would you ask in the first place? I don't understand.
that quite easy to answer. I only want to give acces to youtube videos from channels I can allow to watch. In schools for example an administrator would never give access to all videos on youtube. In that case the channel from this school be allowed. Nothing else should be allowed.
Did I explain it better now?
Yes, but I'm not sure why you dismissed my answer so quickly. SquidGuard allows you to block entire domains, subdomains, parts of URLs etc. Whitelists take precedence over blocks, so I suggested that you block all of youtube.com, but then whitelist the specific URL for your channel. And like I said earlier, I haven't tried it myself but it sounds like it should work.
I will check. If I could manage what I was looking 4 I will be back.
thnx for the information.
worked fine :)