IP subnets and VLANs are commonly used network features to prevent unauthorized access to the surveillance network. By segmenting the network using IP subnets, different portions of the network can be isolated, reducing the risk of cross-network attacks. VLANs (Virtual Local Area Networks) further enhance security by creating separate broadcast domains within the same physical network, thereby isolating surveillance devices from other network traffic and improving overall network security and performance.