Re:Show HN: Free Code Editor for Pair Programming with Compi...
by asadlionpk on Thursday June 04, 2015 @01:36PM
(#9660768)
somebody did while(true) in that html. Crashing everyone's browsers.
[ Parent
| on HN ]
Re:Show HN: Free Code Editor for Pair Programming with Compi...
by afgho on Thursday June 04, 2015 @03:25PM
(#9661467)
i don't know the tech you are using but you can prevent that by running the code in a sandboxed worker, at least it won't crash, like https://github.com/asvd/jailed (i don't know how secure is that though)
anyway cool program
Re:Show HN: Free Code Editor for Pair Programming with Compi...
by asadlionpk on Friday June 05, 2015 @05:25AM
(#9664598)
Thanks. We are using compilebox[1] for languages which is sandboxed in Docker. But html is still rendered in everyone's browser. I am looking into solutions for preventing this.