On 10/04/13 07:22, Ph.T wrote:
> "It's not true that every app runs in its own VM -- that would be a big
> waste of resources. Instead the VMs represent security domains."
> . however, as JR pointed out in that youtube presentation[1]
> if you do have an app that needs a different security domain,
> you can install that in a separate vm template .
> . so in addition to the one browser template,
> I can also have a gamer's template,
> and another for a developer's template .
> . that's like 5GB per template,
> not a lot of wasted resource .
> 1:
http://www.youtube.com/watch?v=0pPf1F1RGF8
>
Well, you have a couple of options. You could, as you say, create a
separate template for each program (which would indeed use a lot of
storage space). Or you could install all of the programs in the same
template but create separate AppVMs for different activities (which
would be very space-efficient). Of course, you could also do a
combination of both, which is, I think, what most Qubes users do.
The reason that it's acceptable, from a security point of view, to
install a bunch of different applications in the same template (even if
different security domains all use that same template) is that we only
have to trust that their installation scripts aren't malicious. As far
as the template is concerned, we don't have to trust that the programs
themselves aren't buggy and exploitable in some way, since we don't run
them in the template. We only run them in, well, whichever AppVMs we
choose to run them in. So, we might have a higher-security domain in
which we don't run those programs, and a lower-security domain in which
we run them, even though both are based on the same template. This gives
the user a great deal of flexibility in deciding how they would like to
make the trade-off between security and space-efficiency. It also
lessens the impact of that trade-off by allowing the user to have both
to a greater degree than is possible in other operating systems.