Content Filtering will accomplish what you describe. Take a look at http://technet.microsoft.com/en-us/library/bb124739.aspx for more information.
David.