What are the risks of letting users upload and run Javascript

前端 未结 4 1655
死守一世寂寞
死守一世寂寞 2021-01-03 05:38

If you have say an HTML5 games arcade, that allows users to upload a script that runs a game with HTML5 and Javascript, assuming you have no filters on their input (apart fr

4条回答
  •  庸人自扰
    2021-01-03 06:33

    Check the links below which i found helpful for understanding the possibilities.

    http://ejohn.org/blog/javascript-based-injection-attacks/

    http://google-caja.googlecode.com/svn/changes/mikesamuel/string-interpolation-29-Jan-2008/trunk/src/js/com/google/caja/interp/index.html

提交回复
热议问题