Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Virtual PC / May 2008

Tip: Looking for answers? Try searching our database.

Really safe testing in Virtual Machine ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
張達明 - 22 May 2008 13:47 GMT
I am using Window vista ultimate editon to be a host computer, i want to
setup a virtual pc 2007 sp1 and create a vhd image (also vista ultimate
editon) to be a Virtual Machine .

I am working with C# and developing a tweak tool for vista, it would change
the registry, Local variable (System temp folder, Page file size etc...) ,but
i will to ensure 1 thing.

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)?
Mark Rae [MVP] - 22 May 2008 14:44 GMT
> 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

TaTMing@HK - 22 May 2008 15:20 GMT
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.