I am trying to secure a JSON file via htaccess basic auth, with CORS ability
My code is split across two domains:
api.example.com