You can ensure instance security by following best practices for instance security hardening, as described in this guide: https://docs.servicenow.com/en-US/bundle/utah-platform-security/page/administer/security/reference/instance-security-hardening-settings.html