If guest has access to its hosting files, is that dangerous ?

This is for discussing general topics about how to use VirtualBox.
Post Reply
esmeralgan
Posts: 8
Joined: 15. Apr 2018, 22:30

If guest has access to its hosting files, is that dangerous ?

Post by esmeralgan »

Because it may be convenient to store shared data of VM guests and real systems on one big partition, it may be also convenient to store the VM guests hosts files on that same partition.
So, suppose I run a VDI or raw partition guest system in Virtualbox, which has access to the files used by the host to run the guest, for example:
- through the vmdk partitions for a raw system
- through shared folder or vmdk disk for the VDI
Is that problematic ?
Are there basic principles about what to do and not to do ?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: If guest has access to its hosting files, is that dangerous ?

Post by socratis »

esmeralgan wrote:Is that problematic ?
If you mean that the host can get access to the VM's files and mess them up? Yes, by definition!
esmeralgan wrote:Are there basic principles about what to do and not to do ?
Don't! ;)

There are no "principles", just common logic. Raw access is powerful, but it also means no brakes. You can do anything and everything you want, including screwing up your data. Irreversibly.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply