Cloud-hosted UniFi Controllers, or any UniFi controller exposed to the public Internet for that matter, should be as secure as possible. If you follow Crosstalk Solutions guide for hosted UniFi controllers you may want to follow these steps to further secure your installation.