How does a host PC remain free from viruses on a VM?

257 views

Hello everyone,

I recently heard that a host PC is unaffected from viruses that have infected a virtual machine on that PC? How can this be the case, as both share the same hardware?

In: 9

6 Answers

Anonymous 0 Comments

VMs are commonly set up so that the Guest OS doesn’t have access to the local drives of the Host computer other than a virtual disk image, or/and a user-defined list of folder(s) the Guest can access.

This provides a layer of isolation between the two OSs, as neither can communicate with each other, and the user would have to deliberately run code provided by one OS after copying it to a location accessible to the other.

Eli5: imagine trying to break out of jail when you’re walled in a small collection of rooms that you’re not allowed to leave

You are viewing 1 out of 6 answers, click here to view all answers.