I believe one could do it with an inline policy enforcement point (IPEP) as part of an ISE solution.
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: