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

This is for discussing general topics about how to use VirtualBox.

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

Postby esmeralgan » 24. Apr 2018, 04:31

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 ?
esmeralgan
 
Posts: 9
Joined: 15. Apr 2018, 22:30

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

Postby socratis » 24. Apr 2018, 11:09

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.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 19292
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to Using VirtualBox

Who is online

Users browsing this forum: No registered users and 19 guests