On Wed, 2007-01-08 at 01:52 +1000, Paul J R wrote:
> Hi guys, I had a quick question.
> 
> I was playing around writing a php-based web interface for KVM. 

Well since KVM uses QEMU you'd really be writing a frontend for that.
I've already seen a number of other projects for QEMU frontends, google
should turn up a few.

> 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.

Try http://www.oszoo.org/wiki/index.php/Free_Live_OS_Zoo

>  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?
> 

http://fedoraproject.org/wiki/Releases/FeatureVirtSecurity is a project
tasked with improving VNC security among other things, right now qemu
doesn't have many options in that regard.

> 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).
> 

Xen has patches to qemu vnc for supporting passwords if you need a
starting point. Though iirc they are pulled from the xenstore or
whatever they call it, so it would need some work I'd imagine.
-- 
Matthew Kent \ SA \ bravenet.com


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to