
Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
This post is interest for me.
"The Virtual Machine don't know it's running on a virtual machine"
So, is it impossible transfer file or some read/write access between
"Virtual PC" and Host PC's File System?

Signature
"Mark Rae [MVP]" <mark@markNOSPAMrae.net> 撰寫於郵件新聞:uC4g6HBvIHA.4952@TK2MSFTNGP05.phx.gbl...
> When do some harmful job on Virtual Machine , is it possible affect my
> Host
> computer (real computer) ? And what i need to beware to prevent virtual
> machine affect my host computer (real computer)?
There are two fundamental issues here.
Firstly, a virtual machine is a *REAL* machine. Just as real as a physical
machine. The fact that it's made of software instead of hardware is
completely irrelevant.
Secondly, as far as the software running on a virtual machine is concerned,
it is a totally separate machine. It doesn't even know that it's running on
a virtual machine, because it has no need to know that. That's why e.g. if a
virtual machine has Internet access it's absolutely vital to install
anti-malware software on it - they host won't protect it.
Think of the host and guest as two entirely different machines. Can two
entirely different machines talk to each other? Of course they can, if you
allow them to do so via networking. If you don't, then they can't.
You say that you're writing a C# utility which will tweak a machine's
registry. If you've got this far, then I'm sure you know that it's easy
enough to write a C# utility which can tweak another machine's registry -
but you as the programmer will have to allow it to do so. If you design your
utility so that the only registry to which it has access is the registry of
the machine on which it is currently running, then you have nothing to worry
about...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
Mark Rae [MVP] - 22 May 2008 15:35 GMT
> This post is interest for me.
>
> "The Virtual Machine don't know it's running on a virtual machine"
I didn't actually say that. I said that the *software* (operating system and
applications) running on a virtual machine doesn't know that it's running on
a virtual machine as opposed to a physical machine because it has no need to
know that...
> So, is it impossible transfer file or some read/write access between
> "Virtual PC" and Host PC's File System?
I didn't say that either...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net