Do a google for "DansGuardian." It's a very nifty app that works wth squid. When a user tries to visit for instance, a page that says "Free teen sex" they are presented a great big ERROR page. You set your own rules of course.
I've used it in a couple small companies, easily tuned to not be too facist, but still keep people from using your bandwidth for crap.