CBSubs does this automatically if the destination is protected by CBSubs and the user doesn't have a subscription. To protect the whole site I suppose you'd protect everything except CB. You can protect your menu items, modules, entire extensions, articles, or even custom URLs using CBSubs Content integration. Please see your CBSubs documentation for further usage information.