You can secure your Chromecast device by using VPN and a secure Wi-Fi connection. In addition, you need to disable the UPnP. To know more about the steps, refer to the blog.