besides the prevention methods listed above, other methods can include encryption, as the data will not be useful if the hacker gets their hands on it, and as well as this, physical security methods such as disabling all input methods (USB, DISC drive, SD slot ect) can prevent issues with the physical attacks as well, and the other main method of prevention would be the use of ethernet, as using ethernet will prevent hackers from intercepting the communications between client and server that is a result of wireless network access, and by extension locking the router in a safe room with a lot of physical security.