Added support for basic domain whitelisting