I haven't looked at WebAssembly in Detail, but my feeling and worry is that this is a can of worms for security issues. Javascript wasn't designed with security in mind and it has taken us decades to understand what implications that had (and we haven't really fixed them yet). The security implications for WebAssembly will be different, but I'm almost certain there will be a lot. (pnacl already introduced some quite…
WebAssembly: a binary format for the web
101–110 of 164 posts
Re: WebAssembly: a binary format for the web
#102I haven't looked at WebAssembly in Detail, but my feeling and worry is that this is a can of worms for security issues. Javascript wasn't designed with security in mind and it has taken us decades to understand what implications that had (and we haven't really fixed them yet). The security implications for WebAssembly will be different, but I'm almost certain there will be a lot. (pnacl already introduced some quite…
> The security implications for WebAssembly will be different, but I'm almost certain there will be a lot. What can you do today in Web Assembly that you can't already do in asm.js?
Re: WebAssembly: a binary format for the web
#103The future! serve binaries instead of web pages!
Re: WebAssembly: a binary format for the web
#104As laudable as the goal of improving performance is, I hope this never takes off. Why? Because it will take about 5 minutes from 90% of the web to go from open, transparent, easily reverse engineerable source code to essentially giant blobs of secret binary code. People will pay lip service to performance but 99% of the reason that web sites will implement this will be to cover up their code, keep secret their implem…
Re: WebAssembly: a binary format for the web
#105As laudable as the goal of improving performance is, I hope this never takes off. Why? Because it will take about 5 minutes from 90% of the web to go from open, transparent, easily reverse engineerable source code to essentially giant blobs of secret binary code. People will pay lip service to performance but 99% of the reason that web sites will implement this will be to cover up their code, keep secret their implem…
Not really. Almost all websites obfuscate/minify their Javascript now, making manually interpreting the code much less than "trivial." I think WebAssembly will be no worse to figure out than obfuscated Javascript.
Re: WebAssembly: a binary format for the web
#106Re: WebAssembly: a binary format for the web
#107As laudable as the goal of improving performance is, I hope this never takes off. Why? Because it will take about 5 minutes from 90% of the web to go from open, transparent, easily reverse engineerable source code to essentially giant blobs of secret binary code. People will pay lip service to performance but 99% of the reason that web sites will implement this will be to cover up their code, keep secret their implem…
Re: WebAssembly: a binary format for the web
#108Earlier quoted context omitted.
You can run untrusted code in an iframe (possibly with the sandbox attribute set). I think this would be what you're looking for.
Go to http://www.html5rocks.com/static/demos/evalbox/index.html type in console.log("foo") and click either button. It has access to the console even from the sandbox. Is there a way to say: I want this iframe to run a script, but don't give the script access to the console?
Re: WebAssembly: a binary format for the web
#109From Java applets to Java applets in twenty years.
Smaller than JS, faster, uses Abstract Syntax Trees... sounds like the Juice project. Oh, how much better web apps could've been. https://web.archive.org/web/20000830093908/http://caesar.ics...
Re: WebAssembly: a binary format for the web
#110I hope to see so the developers that don't like JavaScript stop writing bad JavaScript and just write it in whatever class based type based system they want instead of adding classes and types to Javascript.