web interface?

Paul J R
2007-07-31T15:52:39Z

Hi guys, I had a quick question.

I was playing around writing a php-based web interface for KVM.
Basically something that would allow you to use a tiny distro and let
you manage disk/net etc via php (atm its crude to say the least).

It all seems relatively straight forward except for one component - the
console bits. I wanted to make it so you could click on your new vm,
then click on a "console" link and *poof* your console appears on your
web browser via an embedded java applet. The problem is security,
Authenticating users on the page is simple enough, but i cant see a
method by which i could put a password on the vnc port in qemu?

Ideally, what i would like to be able to do is when someone accesses the
console it sets the password randomly, then embed's it into the request.
Once everyone disconnects it resets the password (but thats not quite so
important at this point).

Of course, if someone is already doing a web interface then i'd like to
know that too :)

Thanks in advance guys.