I’m not following exactly what you’re asking but there are a couple of things you can do. One is in the manifest, which is where you can determine whether the extension applies to shopping, myaccount or checkout — so you can just remove the one for the shopping domain if you don’t need it. The other is to perform a check whether the customer is logged in first before rendering or doing whatever it is your extension does; if it’s important that they’re logged in first then you can just redirect them to the login page if they’re not.