Due to the history of TeamViewer security issues, experts do not recommend it for company networks that connect business-critical machines with sensitive data resources. It needs to be used with caution due to the ability of hackers to gain control of a machine and infiltrate a network from an unsecured TeamViewer session or account.
Companies can enhance security through the use of a corporate firewall that blocks unknown outbound connections. Collecting logs from the firewall will identify TeamViewer sessions that a company may want to restrict. Users can be notified that TeamViewer is not allowed in those situations.
The logs will also show all traffic attempting to access TeamViewer. This information can be used to create firewall rules to block IP addresses and restrict access to the network. All TeamViewer outbound connections go through the firewall. A strict firewall policy can be created that blocks all inbound traffic and only opens port 5938 for outgoing connections.