I'm trying to build a web based ssh terminal. Maybe an open source version already exists and I'm reinventing the wheel....or maybe it's more of a web console that supports multi line entry.....would like ot know a library for this as well.
but I do want to give them a tiny bit of disk space to play with, without obviously screwing it all up by doing malicious things. the demo should be timed so destroy the micro micro instance the minute they are inactive.
how can I implement this?
j
stuff ;)
the problem is the loading time. you can use docker in theory but even they have problem in spawning to many parallel instances.
I would use a small node server in a docker instance which basically just executes all commands the user types in the container
so it's isolated and you could in theory spawn instances on demand.