Add domain whitelist and safe mode.