Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

by definition XSLT is more secure than JavaScript.


Yes and no. It's true that if you had to pick one to support and were only considering security, it would virtually certainly be better to go with XSLT. However, browser makers basically _have_ to support javascript, so as long as XSLT has a non-zero attack surface (which it does, at least as long as it's a native implementation), including it would be less secure. That said, as I pointed out, there are obvious ways to mitigate this issue and reduce the extra attack surface to effectively zero.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: