Are you using basic auth? If so, how are you managing usernames & passwords?
Are you using a VPN?
Are you using something else?
It's not perfect, but I think it works better than what it replaced (logic in the application and a shared 'secret' to access those environments)