Utility code that allows external access to a Magentrix Portal